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



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

def fraction
  @fraction
end

#multiplierObject

Returns the value of attribute multiplier



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

def multiplier
  @multiplier
end

#nameObject

Returns the value of attribute name



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

def name
  @name
end

#stepObject

Returns the value of attribute step



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

def step
  @step
end