Method: ActiveSupport::OrderedHash#select
- Defined in:
- activesupport/lib/active_support/ordered_hash.rb
#select(*args, &block) ⇒ Object
33 34 35 |
# File 'activesupport/lib/active_support/ordered_hash.rb', line 33 def select(*args, &block) dup.tap { |hash| hash.select!(*args, &block) } end |