174 175 176 177 178
# File 'lib/rq/orderedhash.rb', line 174 def select ary = [] each { |k,v| ary << [k,v] if yield k,v } ary end