method
attribute_method?
v4.0.2 -
Show latest stable
- Class:
ActiveModel::AttributeMethods
attribute_method?(attr_name)protected
No documentation available.
# File activemodel/lib/active_model/attribute_methods.rb, line 468
def attribute_method?(attr_name) #:nodoc:
respond_to_without_attributes?(:attributes) && attributes.include?(attr_name)
end