관리-도구
편집 파일: compact%21-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes <tt>nil</tt> elements from array. Returns <tt>nil</tt> if no changes were made. - !ruby/struct:SM::Flow::VERB body: " [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ]\n [ "a", "b", "c" ].compact! #=> nil\n" full_name: Array#compact! is_singleton: false name: compact! params: | array.compact! -> array or nil visibility: public