Class: Lazily::TaggedElement

Inherits:
Struct
  • Object
show all
Defined in:
lib/lazily/associating.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



40
41
42
# File 'lib/lazily/associating.rb', line 40

def key
  @key
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



40
41
42
# File 'lib/lazily/associating.rb', line 40

def label
  @label
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



40
41
42
# File 'lib/lazily/associating.rb', line 40

def value
  @value
end