Class: Quonfig::WeightedValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/quonfig/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



31
32
33
# File 'lib/quonfig/types.rb', line 31

def value
  @value
end

#weightObject

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



31
32
33
# File 'lib/quonfig/types.rb', line 31

def weight
  @weight
end