Ruby - Enumerable and Collection Processing
Which of the following is the correct syntax to use
reject on an array nums to remove even numbers?reject on an array nums to remove even numbers?reject method requires a block with { |var| condition } or do |var| ... end.do syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions