Module: Hexagonly::Polygon::Methods::ClassMethods

Defined in:
lib/hexagonly/polygon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#poly_points_method_nameObject

Returns the value of attribute poly_points_method_name.



26
27
28
# File 'lib/hexagonly/polygon.rb', line 26

def poly_points_method_name
  @poly_points_method_name
end

Instance Method Details

#poly_points_method(points_method) ⇒ Object



28
29
30
# File 'lib/hexagonly/polygon.rb', line 28

def poly_points_method(points_method)
  self.poly_points_method_name = points_method.to_sym
end