Class: ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher::AttributeMethodMatch

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



393
394
395
# File 'lib/active_model/attribute_methods.rb', line 393

def attr_name
  @attr_name
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



393
394
395
# File 'lib/active_model/attribute_methods.rb', line 393

def method_name
  @method_name
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



393
394
395
# File 'lib/active_model/attribute_methods.rb', line 393

def target
  @target
end