method
respond_to?
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::DynamicMatchers
respond_to?(name, include_private = false)public
No documentation available.
# File activerecord/lib/active_record/dynamic_matchers.rb, line 3
def respond_to?(name, include_private = false)
if self == Base
super
else
match = Method.match(self, name)
match && match.valid? || super
end
end