instance method
method_missing
Ruby on Rails 6.1.7.10
Since v2.2.3 PrivateSignature
method_missing(method_name, *arguments)
No documentation comment.
Parameters
-
method_namereq -
argumentsrest
Source
# File activesupport/lib/active_support/string_inquirer.rb, line 27
def method_missing(method_name, *arguments)
if method_name.end_with?("?")
self == method_name[0..-2]
else
super
end
end
Defined in activesupport/lib/active_support/string_inquirer.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::StringInquirer