instance method
reject
Ruby on Rails 6.1.7.10
Since v4.0.13Signature
reject(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 322
def reject(*args, &block)
return to_enum(:reject) unless block_given?
dup.tap { |hash| hash.reject!(*args, &block) }
end
Defined in activesupport/lib/active_support/hash_with_indifferent_access.rb line 322
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::HashWithIndifferentAccess