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