method
attribute_method?
v7.1.3.4 -
Show latest stable
- Class:
ActiveModel::AttributeMethods
attribute_method?(attr_name)private
No documentation available.
# File activemodel/lib/active_model/attribute_methods.rb, line 520
def attribute_method?(attr_name)
respond_to_without_attributes?(:attributes) && attributes.include?(attr_name)
end