lib/calabash/gestures.rb in calabash-1.9.9.pre2 vs lib/calabash/gestures.rb in calabash-1.9.9.pre3
- old
+ new
@@ -111,13 +111,13 @@
# @see Calabash::IOS::Scroll#scroll_to_row_with_mark
# @see Calabash::IOS::Scroll#scroll_to_item
# @see Calabash::IOS::Scroll#scroll_to_item_with_mark
#
# @param [String] query A query describing the view to pan inside.
- # @param [Hash] from ({:x, :y}) The point at which the gesture
+ # @param [Hash] from `({:x, :y})` The point at which the gesture
# originates from.
- # @param [Hash] to ({:x, :y}) The point at which the gesture
+ # @param [Hash] to `({:x, :y})` The point at which the gesture
# ends.
#
# @param [Hash] options Options for modifying the details of the pan.
# @option options [Number] :duration (0.5) How many seconds the pan takes
# to complete. On iOS, the duration must be between 0.5 and 60.
@@ -237,17 +237,17 @@
# <·····──────┤ │ | │ │
# └───────────┘ | └───────────┘
#
# @param [String,Hash,Query] query A query describing the view to flick
# inside of.
- # @param [Hash] from ({:x, :y}) The point at which the gesture
+ # @param [Hash] from `({:x, :y})` The point at which the gesture
# originates from.
- # @param [Hash] to ({:x, :y}) The point at which the gesture
+ # @param [Hash] to `({:x, :y})` The point at which the gesture
# ends.
#
# @param [Hash] options Options for controlling the flick.
- # @options options [Numeric] :duration The duration of the flick. On iOS,
+ # @option options [Numeric] :duration The duration of the flick. On iOS,
# the duration must be between 0.5 and 60.
#
# @raise [ViewNotFoundError] If the `query` returns no results.
# @raise [ArgumentError] If `query` is invalid.
# @raise [ArgumentError] iOS: if the `:duration` is not between 0.5 and 60.
@@ -344,40 +344,40 @@
# Performs a `pinch` to zoom in on the screen.
def pinch_screen_to_zoom_out(options={})
_pinch_screen_to_zoom(:out, options)
end
- # !@visibility private
+ # @!visibility private
def _pan_screen_up(options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _pan_screen_down(options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _flick_screen_up(options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _flick_screen_down(options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _pinch_screen(direction, options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _pinch_to_zoom(direction, query, options={})
abstract_method!
end
- # !@visibility private
+ # @!visibility private
def _pinch_screen_to_zoom(direction, options={})
abstract_method!
end
end
end