Sha256: 7b7d6ab5652944c2c0514a04328f33b877b4eff690d94554efcb5950c21a8777
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
require 'leaflet-draw-rails/shape' module Leaflet::Draw module Rails::Testing class Polygon < Shape def draw! @points.each do |x, y| @browser.click(x, y) end @browser.click(*@points.first) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
leaflet-draw-rails-0.1.0 | lib/leaflet-draw-rails/polygon.rb |