Class: ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher::AttributeMethodMatch
- Inherits:
-
Struct
- Object
- Struct
- ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher::AttributeMethodMatch
- Defined in:
- activemodel/lib/active_model/attribute_methods.rb
Instance Attribute Summary collapse
-
#attr_name ⇒ Object
Returns the value of attribute attr_name.
-
#target ⇒ Object
Returns the value of attribute target.
Method Summary
Methods inherited from Struct
Instance Attribute Details
#attr_name ⇒ Object
Returns the value of attribute attr_name
344 345 346 |
# File 'activemodel/lib/active_model/attribute_methods.rb', line 344 def attr_name @attr_name end |
#target ⇒ Object
Returns the value of attribute target
344 345 346 |
# File 'activemodel/lib/active_model/attribute_methods.rb', line 344 def target @target end |