AlkantarClanX12
Current Path : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Array/ |
Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Array/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