Class: Everlog::Dom::Value::Moves
- Inherits:
-
Everlog::Dom::Value
- Object
- Everlog::Dom::Value
- Everlog::Dom::Value::Moves
- Defined in:
- lib/everlog/dom/value/moves.rb
Defined Under Namespace
Classes: Move, Place, Referer, Summary
Instance Method Summary collapse
Methods inherited from Everlog::Dom::Value
Constructor Details
This class inherits a constructor from Everlog::Dom::Value
Instance Method Details
#km ⇒ Object
12 13 14 |
# File 'lib/everlog/dom/value/moves.rb', line 12 def km 1000 end |
#round_off(float) ⇒ Object
8 9 10 |
# File 'lib/everlog/dom/value/moves.rb', line 8 def round_off float "%.1f" % float end |