Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/van/units/base.rb
Instance Method Summary collapse
Instance Method Details
#to_unit(converter = nil) ⇒ Object
983 984 985 |
# File 'lib/van/units/base.rb', line 983 def to_unit(converter = nil) Van::Units::Unit.new(self, converter) end |
#to_value(converter = nil) ⇒ Object
988 989 990 |
# File 'lib/van/units/base.rb', line 988 def to_value(converter = nil) Van::Units::Value.new(self, converter) end |