Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Ractor /
Delete
Unzip
Name
Size
Permission
Date
Action
ClosedError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Error
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IsolationError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MovedError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MovedObject
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RemoteError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UnsafeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
%3c%3c-i.ri
246
B
-rw-r--r--
2026-04-07 17:42
%5b%5d%3d-i.ri
298
B
-rw-r--r--
2026-04-07 17:42
%5b%5d-i.ri
293
B
-rw-r--r--
2026-04-07 17:42
cdesc-Ractor.ri
10.64
KB
-rw-r--r--
2026-04-07 17:42
close_incoming-i.ri
764
B
-rw-r--r--
2026-04-07 17:42
close_outgoing-i.ri
756
B
-rw-r--r--
2026-04-07 17:42
count-c.ri
719
B
-rw-r--r--
2026-04-07 17:42
current-c.ri
416
B
-rw-r--r--
2026-04-07 17:42
inspect-i.ri
253
B
-rw-r--r--
2026-04-07 17:42
main-c.ri
277
B
-rw-r--r--
2026-04-07 17:42
make_shareable-c.ri
1.66
KB
-rw-r--r--
2026-04-07 17:42
name-i.ri
294
B
-rw-r--r--
2026-04-07 17:42
new-c.ri
1.45
KB
-rw-r--r--
2026-04-07 17:42
receive-c.ri
1.88
KB
-rw-r--r--
2026-04-07 17:42
receive-i.ri
313
B
-rw-r--r--
2026-04-07 17:42
receive_if-c.ri
2.19
KB
-rw-r--r--
2026-04-07 17:42
receive_if-i.ri
233
B
-rw-r--r--
2026-04-07 17:42
recv-c.ri
238
B
-rw-r--r--
2026-04-07 17:42
recv-i.ri
237
B
-rw-r--r--
2026-04-07 17:42
select-c.ri
2.08
KB
-rw-r--r--
2026-04-07 17:42
send-i.ri
2.98
KB
-rw-r--r--
2026-04-07 17:42
shareable%3f-c.ri
794
B
-rw-r--r--
2026-04-07 17:42
take-i.ri
2.34
KB
-rw-r--r--
2026-04-07 17:42
to_s-i.ri
237
B
-rw-r--r--
2026-04-07 17:42
yield-c.ri
1.32
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI"receive_if:ETI"Ractor::receive_if;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"%Receive only a specific message.;To:RDoc::Markup::BlankLine o; ; [I"HInstead of Ractor.receive, Ractor.receive_if can provide a pattern ;TI"9by a block and you can choose the receiving message.;T@o:RDoc::Markup::Verbatim; [I"r = Ractor.new do ;TI"? p Ractor.receive_if{|msg| msg.match?(/foo/)} #=> "foo3" ;TI"? p Ractor.receive_if{|msg| msg.match?(/bar/)} #=> "bar1" ;TI"? p Ractor.receive_if{|msg| msg.match?(/baz/)} #=> "baz2" ;TI" end ;TI"r << "bar1" ;TI"r << "baz2" ;TI"r << "foo3" ;TI"r.take ;T:@format0o; ; [I"This will output:;T@o;; [I" foo3 ;TI" bar1 ;TI" baz2 ;T; 0o; ; [ I"^If the block returns a truthy value, the message will be removed from the incoming queue ;TI"and returned. ;TI"UOtherwise, the message remains in the incoming queue and the following received ;TI"-messages are checked by the given block.;T@o; ; [I"JIf there are no messages left in the incoming queue, the method will ;TI"%block until new messages arrive.;T@o; ; [I"ZIf the block is escaped by break/return/exception/throw, the message is removed from ;TI"?the incoming queue as if a truthy value had been returned.;T@o;; [I"r = Ractor.new do ;TI"7 val = Ractor.receive_if{|msg| msg.is_a?(Array)} ;TI", puts "Received successfully: #{val}" ;TI" end ;TI" ;TI"r.send(1) ;TI"r.send('test') ;TI" wait ;TI"2puts "2 non-matching sent, nothing received" ;TI"r.send([1, 2, 3]) ;TI" wait ;T; 0o; ; [I"Prints:;T@o;; [I"+2 non-matching sent, nothing received ;TI"&Received successfully: [1, 2, 3] ;T; 0o; ; [I"SNote that you can not call receive/receive_if in the given block recursively. ;TI"<It means that you should not do any tasks in the block.;T@o;; [I"Ractor.current << true ;TI"-Ractor.receive_if{|msg| Ractor.receive} ;TI"O#=> `receive': can not call receive/receive_if recursively (Ractor::Error);T; 0: @fileI"ractor.rb;T:0@omit_headings_from_table_of_contents_below0I"-Ractor.receive_if {|msg| block } -> msg ;T0[ I" (&b);T@QFI"Ractor;TcRDoc::NormalClass00