Current Path : /opt/alt/ruby18/share/ri/1.8/system/Array/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Array/shuffle-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array with elements of this array shuffled. - !ruby/struct:SM::Flow::VERB body: " a = [ 1, 2, 3 ] #=> [1, 2, 3]\n a.shuffle #=> [2, 3, 1]\n" full_name: Array#shuffle is_singleton: false name: shuffle params: | array.shuffle -> an_array visibility: public