Current Path : /opt/alt/ruby18/share/ri/1.8/system/Array/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Array/clear-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all elements from <em>self</em>. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a.clear #=> [ ]\n" full_name: Array#clear is_singleton: false name: clear params: | array.clear -> array visibility: public