lib/calabash/android/gestures.rb in calabash-1.9.9.pre2 vs lib/calabash/android/gestures.rb in calabash-1.9.9.pre3

- old
+ new

@@ -1,9 +1,10 @@ require 'json' module Calabash module Android + # @!visibility private module Gestures class MultiTouchGesture attr_reader :gestures attr_accessor :timeout @@ -342,26 +343,26 @@ to = {x: 50, y: 90} flick("* id:'content'", from, to, options) end - # !@visibility private + # @!visibility private def _pinch_screen(direction, options={}) Device.default.pinch(direction, "* id:'content'", options) end - # !@visibility private + # @!visibility private def _pinch_to_zoom(direction, query, options={}) if direction == :out Device.default.pinch(:in, query, options) elsif direction == :in Device.default.pinch(:out, query, options) else raise "Invalid direction '#{direction}'" end end - # !@visibility private + # @!visibility private def _pinch_screen_to_zoom(direction, options={}) _pinch_to_zoom(direction, "* id:'content'", options) end end end