Sha256: 32d01e58858a66d8d2240cc1e61e269538f5afbeab75932992ed9d4e160c2b78
Contents?: true
Size: 411 Bytes
Versions: 15
Compression:
Stored size: 411 Bytes
Contents
module Nakal module Android class ADB class << self attr_accessor :connected_devices def connected_devices @connected_devices ||= `adb devices`.scan(/\n(.*)\t/).flatten end def first_device connected_devices.first end def multiple_devices_connected? connected_devices.size > 1 end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems