Class: Units::ConstantDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/units/system.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



235
236
237
# File 'lib/units/system.rb', line 235

def description
  @description
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



235
236
237
# File 'lib/units/system.rb', line 235

def symbol
  @symbol
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



235
236
237
# File 'lib/units/system.rb', line 235

def value
  @value
end