Method: ADB#pull

Defined in:
lib/ADB.rb

#pull(source, destination, target = {}, timeout = 30) ⇒ Object

pull a file

:emulator, and :serial. seconds.

Parameters:

  • the

    fully quanified source (device) file name

  • the

    fully quanified destination (local) file name

  • which (Hash)

    device to wait for. Valid keys are :device,

  • timeout (defaults to: 30)

    value for the command to complete. Defaults to 30



175
176
177
# File 'lib/ADB.rb', line 175

def pull(source, destination, target={}, timeout=30)
  execute_adb_with_exactly(timeout, "#{which_one(target)} pull", source, destination)
end