Class: Point
- Inherits:
-
Struct
- Object
- Struct
- Point
- Defined in:
- lib/pieces.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
75 76 77 |
# File 'lib/pieces.rb', line 75 def x @x end |
#y ⇒ Object
Returns the value of attribute y
75 76 77 |
# File 'lib/pieces.rb', line 75 def y @y end |