Method: Fastlane::Actions::AdbDevicesAction.example_code

Defined in:
fastlane/lib/fastlane/actions/adb_devices.rb

.example_codeObject



39
40
41
42
43
44
45
46
47
48
# File 'fastlane/lib/fastlane/actions/adb_devices.rb', line 39

def self.example_code
  [
    'adb_devices.each do |device|
      model = adb(command: "shell getprop ro.product.model",
                  serial: device.serial).strip

      puts "Model #{model} is connected"
    end'
  ]
end