def pan(query, from, to, options={})
      ensure_query_class_or_nil(query)

      gesture_options = options.dup

      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _pan(query, from, to, gesture_options)
    end
def pan(query, from, to, options={})
      ensure_query_class_or_nil(query)

      gesture_options = options.dup

      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _pan(query, from, to, gesture_options)
    end
Performs a `pan` on the (first) view that matches `query`.
 @see Calabash::Gestures#pan
 @!visibility private