Class: Rome2rio::Position
- Inherits:
-
EncodedNumberPair
- Object
- EncodedNumberPair
- Rome2rio::Position
- Defined in:
- lib/rome2rio/helper/position.rb
Instance Attribute Summary collapse
-
#lat ⇒ Object
Sets the attribute lat.
-
#lng ⇒ Object
Sets the attribute lng.
Attributes inherited from EncodedNumberPair
Method Summary
Methods inherited from EncodedNumberPair
Constructor Details
This class inherits a constructor from Rome2rio::EncodedNumberPair
Instance Attribute Details
#lat=(value) ⇒ Object
Sets the attribute lat
3 4 5 |
# File 'lib/rome2rio/helper/position.rb', line 3 def lat=(value) @lat = value end |
#lng=(value) ⇒ Object
Sets the attribute lng
3 4 5 |
# File 'lib/rome2rio/helper/position.rb', line 3 def lng=(value) @lng = value end |