Class: Savage::Directions::Point
- Inherits:
-
Struct
- Object
- Struct
- Savage::Directions::Point
- Defined in:
- lib/savage/direction.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
3 4 5 |
# File 'lib/savage/direction.rb', line 3 def x @x end |
#y ⇒ Object
Returns the value of attribute y
3 4 5 |
# File 'lib/savage/direction.rb', line 3 def y @y end |