Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/ruby_units/object.rb
Instance Method Summary collapse
- #Unit(*other) ⇒ Object (also: #U, #u)
Instance Method Details
#Unit(*other) ⇒ Object Also known as: U, u
2 3 4 |
# File 'lib/ruby_units/object.rb', line 2 def Unit(*other) other.to_unit end |