REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.03 KB
Close
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Rinda/Template/match-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Matches this template against <tt>tuple</tt>. The <tt>tuple</tt> must be the same size as the template. An element with a <tt>nil</tt> value in a template acts as a wildcard, matching any value in the corresponding position in the tuple. Elements of the template match the <tt>tuple</tt> if the are #== or #===." - !ruby/struct:SM::Flow::VERB body: " Template.new([:foo, 5]).match Tuple.new([:foo, 5]) # => true\n Template.new([:foo, nil]).match Tuple.new([:foo, 5]) # => true\n Template.new([String]).match Tuple.new(['hello']) # => true\n\n Template.new([:foo]).match Tuple.new([:foo, 5]) # => false\n Template.new([:foo, 6]).match Tuple.new([:foo, 5]) # => false\n Template.new([:foo, nil]).match Tuple.new([:foo]) # => false\n Template.new([:foo, 6]).match Tuple.new([:foo]) # => false\n" full_name: Rinda::Template#match is_singleton: false name: match params: (tuple) visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
%3d%3d%3d-i.yaml
230 B
lrw-r--r--
2023-07-26 13:47:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Template.yaml
367 B
lrw-r--r--
2023-07-26 13:47:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
match-i.yaml
1.03 KB
lrw-r--r--
2023-07-26 13:47:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).