Class: ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_model/attribute_methods.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attr_nameObject

Returns the value of attribute attr_name

Returns:

  • (Object)

    the current value of attr_name



474
475
476
# File 'lib/active_model/attribute_methods.rb', line 474

def attr_name
  @attr_name
end

#proxy_targetObject

Returns the value of attribute proxy_target

Returns:

  • (Object)

    the current value of proxy_target



474
475
476
# File 'lib/active_model/attribute_methods.rb', line 474

def proxy_target
  @proxy_target
end