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