Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Array/reverse-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a new array containing <em>self</em>'s elements in reverse order.
- !ruby/struct:SM::Flow::VERB
body: " [ "a", "b", "c" ].reverse #=> ["c", "b", "a"]\n [ 1 ].reverse #=> [1]\n"
full_name: Array#reverse
is_singleton: false
name: reverse
params: |
array.reverse -> an_array
visibility: public