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



451
452
453
# File 'lib/active_model/attribute_methods.rb', line 451

def attr_name
  @attr_name
end

#proxy_targetObject

Returns the value of attribute proxy_target

Returns:

  • (Object)

    the current value of proxy_target



451
452
453
# File 'lib/active_model/attribute_methods.rb', line 451

def proxy_target
  @proxy_target
end