Class: Hexagonly::Polygon
- Inherits:
-
Object
- Object
- Hexagonly::Polygon
- Includes:
- Methods
- Defined in:
- lib/hexagonly/polygon.rb
Defined Under Namespace
Modules: Methods
Instance Attribute Summary collapse
-
#poly_points ⇒ Object
Returns the value of attribute poly_points.
Attributes included from Methods
#collected_points, #rejected_points
Instance Method Summary collapse
-
#initialize(poly_points) ⇒ Polygon
constructor
A new instance of Polygon.
Methods included from Methods
Constructor Details
#initialize(poly_points) ⇒ Polygon
Returns a new instance of Polygon.
89 90 91 |
# File 'lib/hexagonly/polygon.rb', line 89 def initialize(poly_points) @poly_points = poly_points end |
Instance Attribute Details
#poly_points ⇒ Object
Returns the value of attribute poly_points.
86 87 88 |
# File 'lib/hexagonly/polygon.rb', line 86 def poly_points @poly_points end |