Class: Mormon::Weight
- Inherits:
-
Object
- Object
- Mormon::Weight
- Defined in:
- lib/mormon/weight.rb
Class Method Summary collapse
Class Method Details
.get(transport, way_type) ⇒ Object
29 30 31 |
# File 'lib/mormon/weight.rb', line 29 def self.get(transport, way_type) @weightings[way_type] && @weightings[way_type][transport] end |
.weightings ⇒ Object
25 26 27 |
# File 'lib/mormon/weight.rb', line 25 def self.weightings @weightings end |