Libraries
»
measurement
(0.2.5)
»
Index
»
Measurement
»
Unit
»
#to
Method: Measurement::Unit#to
Defined in:
lib/measurement/unit.rb
#
to
(amount) ⇒
Object
30 31 32
# File 'lib/measurement/unit.rb', line 30
def
to
(
amount
)
amount
.
to_f
/
@scale
end