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