instance method
respond_to_without_attributes?
Ruby on Rails edge
Since v3.0.20Signature
respond_to_without_attributes?(method, include_private_methods = false)
Checks whether the object responds to method without searching the attributes.
Parameters
-
methodreq -
include_private_methodsopt = false
Source
# File activemodel/lib/active_model/attribute_methods.rb, line 567
define_method(:respond_to_without_attributes?, Kernel.instance_method(:respond_to?))
Defined in activemodel/lib/active_model/attribute_methods.rb line 567
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::AttributeMethods