How can I implement this in Ruby? Is there any one line of code technique? Let\'s say I want to get rid of all the elements which are less than 3 of an integer array.
a = [ "a", "b", "c" ] a.delete_if {|x| x >= "b" } #=> ["a"]