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