%PDF- %PDF-
Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/Template/ |
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/Template/match-i.ri |
U:RDoc::AnyMethod[iI" match:EFI"Rinda::Template#match;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JMatches this template against +tuple+. The +tuple+ must be the same ;TI"Msize as the template. An element with a +nil+ value in a template acts ;TI"Las a wildcard, matching any value in the corresponding position in the ;TI"Jtuple. Elements of the template match the +tuple+ if the are #== or ;TI" #===.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"DTemplate.new([:foo, 5]).match Tuple.new([:foo, 5]) # => true ;TI"DTemplate.new([:foo, nil]).match Tuple.new([:foo, 5]) # => true ;TI"DTemplate.new([String]).match Tuple.new(['hello']) # => true ;TI" ;TI"ETemplate.new([:foo]).match Tuple.new([:foo, 5]) # => false ;TI"ETemplate.new([:foo, 6]).match Tuple.new([:foo, 5]) # => false ;TI"ETemplate.new([:foo, nil]).match Tuple.new([:foo]) # => false ;TI"DTemplate.new([:foo, 6]).match Tuple.new([:foo]) # => false;T:@format0: @fileI"lib/rinda/rinda.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(tuple);T@FI" Template;TcRDoc::NormalClass00