Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
arr = [5, 7, 8, 9, 12, 13, 15] arr.delete_if {|e| e >= 9} print arr # run: # [5, 7, 8]