--- !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