Class: Tins::Unit::Prefix

Inherits:
Struct
  • Object
show all
Defined in:
lib/tins/unit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fractionObject

Returns the value of attribute fraction

Returns:

  • (Object)

    the current value of fraction



5
6
7
# File 'lib/tins/unit.rb', line 5

def fraction
  @fraction
end

#multiplierObject

Returns the value of attribute multiplier

Returns:

  • (Object)

    the current value of multiplier



5
6
7
# File 'lib/tins/unit.rb', line 5

def multiplier
  @multiplier
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/tins/unit.rb', line 5

def name
  @name
end

#stepObject

Returns the value of attribute step

Returns:

  • (Object)

    the current value of step



5
6
7
# File 'lib/tins/unit.rb', line 5

def step
  @step
end