instance method
method_missing
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
method_missing(name, *args)
No documentation comment.
Parameters
-
namereq -
argsrest
Source
# File activesupport/lib/active_support/array_inquirer.rb, line 40
def method_missing(name, *args)
if name.end_with?("?")
any?(name[0..-2])
else
super
end
end
Defined in activesupport/lib/active_support/array_inquirer.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::ArrayInquirer