instance method
select
Ruby on Rails 6.0.6
Since v4.0.13 Last seen in v6.1.7.10Signature
select(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File activesupport/lib/active_support/ordered_hash.rb, line 33
def select(*args, &block)
dup.tap { |hash| hash.select!(*args, &block) }
end
Defined in activesupport/lib/active_support/ordered_hash.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::OrderedHash