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
28 29 30 |
# File 'lib/mormon/weight.rb', line 28 def self.get(transport, way_type) @weightings[way_type] && @weightings[way_type][transport] end |
.weightings ⇒ Object
24 25 26 |
# File 'lib/mormon/weight.rb', line 24 def self.weightings @weightings end |