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