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

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_methods.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#attr_nameObject

Returns the value of attribute attr_name

Returns:

  • (Object)

    the current value of attr_name



420
421
422
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_methods.rb', line 420

def attr_name
  @attr_name
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



420
421
422
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_methods.rb', line 420

def target
  @target
end