ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/MatchData/
Upload File :
Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/MatchData/captures-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the array of captures; equivalent to <tt>mtch.to_a[1..-1]</tt>.
- !ruby/struct:SM::Flow::VERB 
  body: "   f1,f2,f3,f4 = /(.)(.)(\\d+)(\\d)/.match(&quot;THX1138.&quot;).captures\n   f1    #=&gt; &quot;H&quot;\n   f2    #=&gt; &quot;X&quot;\n   f3    #=&gt; &quot;113&quot;\n   f4    #=&gt; &quot;8&quot;\n"
full_name: MatchData#captures
is_singleton: false
name: captures
params: |
  mtch.captures   => array

visibility: public

Zerion Mini Shell 1.0