563 564 565 566 567
# File 'lib/map.rb', line 563 def select array = [] each{|key, val| array << [key,val] if yield(key, val)} array end