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