AlkantarClanX12

Your IP : 3.144.114.8


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Array/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Array/reverse_each-i.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Same as <tt>Array#each</tt>, but traverses <em>self</em> in reverse order.
- !ruby/struct:SM::Flow::VERB 
  body: "   a = [ &quot;a&quot;, &quot;b&quot;, &quot;c&quot; ]\n   a.reverse_each {|x| print x, &quot; &quot; }\n"
- !ruby/struct:SM::Flow::P 
  body: "produces:"
- !ruby/struct:SM::Flow::VERB 
  body: "   c b a\n"
full_name: Array#reverse_each
is_singleton: false
name: reverse_each
params: |
  array.reverse_each {|item| block } 

visibility: public