Sha256: 53a38e9f9f47646582b1fa9a40a7db95d8071e8ccd105f5d0674a25987ca7bf5

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'leaflet-draw-rails/shape'

module Leaflet::Draw

  module Rails::Testing

    class Circle < Shape

      def draw!
        @browser.move_to(*@points.first)
        @browser.click_and_hold
        @browser.move_to(*@points.second)
        @browser.release
      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/circle.rb