Class: OpenShip::Position
- Inherits:
-
Object
- Object
- OpenShip::Position
- Defined in:
- lib/open-ship/sortr.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x.
18 19 20 |
# File 'lib/open-ship/sortr.rb', line 18 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
18 19 20 |
# File 'lib/open-ship/sortr.rb', line 18 def y @y end |
#z ⇒ Object
Returns the value of attribute z.
18 19 20 |
# File 'lib/open-ship/sortr.rb', line 18 def z @z end |