Class: Polygonfy::Point

Inherits:
Struct
  • Object
show all
Defined in:
lib/polygonfy/Point.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/polygonfy/Point.rb', line 2

def id
  @id
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



2
3
4
# File 'lib/polygonfy/Point.rb', line 2

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



2
3
4
# File 'lib/polygonfy/Point.rb', line 2

def y
  @y
end