def pinch_out(query, duration: nil)
      Query.ensure_valid_query(query)

      options = {
          duration: duration || DEFAULT_PAN_OPTIONS[:duration]
      }

      Calabash::Internal.with_current_target {|target| target.pinch(:out, Query.new(query), options)}
    end
def pinch_out(query, duration: nil)
      Query.ensure_valid_query(query)

      options = {
          duration: duration || DEFAULT_PAN_OPTIONS[:duration]
      }

      Calabash::Internal.with_current_target {|target| target.pinch(:out, Query.new(query), options)}
    end
Performs a **pinch** outwards inside the first view match by `query`.

 The gestures will be similar to two fingers pressing down near the
 center of the view and simultaneously moving towards the opposite corners
 of the view

 @example
  # We have a webview that we want to pinch out on

  cal.pinch_out("* id:'webView'")

         Application
  ┌───────────────────────┐
  │───────────────────────│
  │      id: webview      │
  │  ┌─────────────────┐  │
  │  │  ^              │  │
  │  │   \             │  │
  │  │    \            │  │
  │  │     *    *      │  │
  │  │           \     │  │
  │  │            \    │  │
  │  │             v   │  │
  │  └─────────────────┘  │
  └───────────────────────┘

 @example
  # We have a MapView rendering a map. We want to zoom it in.
  # On iOS, we should pinch out to zoom in
  # On Android, we should pinch in to zoom in.

  if cal.android?
    cal.pinch_in({class: "MapView"})
  elsif cal.ios?
    cal.pinch_out({class: "MapView"})
  end

 @param [String, Hash, Calabash::Query] query A query describing the view
   to pinch.
 @param [Number] duration (default: 1.0) The amount of time in seconds the
  gesture lasts.
 @raise [ViewNotFoundError] If the `query` returns no results.
 @raise [ArgumentError] If `query` is invalid.