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