Class: Leaflet::Draw::Rails::Testing::Shape
- Inherits:
-
Object
- Object
- Leaflet::Draw::Rails::Testing::Shape
- Defined in:
- lib/leaflet-draw-rails/shape.rb
Instance Method Summary collapse
-
#initialize(points) ⇒ Shape
constructor
A new instance of Shape.
- #on(map) ⇒ Object
Constructor Details
#initialize(points) ⇒ Shape
Returns a new instance of Shape.
9 10 11 |
# File 'lib/leaflet-draw-rails/shape.rb', line 9 def initialize(points) @points = points end |