관리-도구
편집 파일: delete_if-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes every element of <em>self</em> for which <em>block</em> evaluates to <tt>true</tt>. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.delete_if {|x| x >= "b" } #=> ["a"]\n" full_name: Array#delete_if is_singleton: false name: delete_if params: | array.delete_if {|item| block } -> array visibility: public