instance method
reject
Ruby on Rails 5.0.7.2
Since v4.0.13 Last seen in v5.0.7.2Signature
reject(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 272
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 272
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in HashWithIndifferentAccess