--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes every element of self for which block evaluates to true. - !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