Class: Quantity::Dimension::DimensionComponent

Inherits:
Struct
  • Object
show all
Defined in:
lib/quantity/dimension.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionObject

Returns the value of attribute dimension

Returns:

  • the current value of dimension



90
91
92
# File 'lib/quantity/dimension.rb', line 90

def dimension
  @dimension
end

#powerObject

Returns the value of attribute power

Returns:

  • the current value of power



90
91
92
# File 'lib/quantity/dimension.rb', line 90

def power
  @power
end