Class: AndroidAdb::Device
- Inherits:
-
Object
- Object
- AndroidAdb::Device
- Defined in:
- lib/android-adb/Device.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#serial ⇒ Object
Returns the value of attribute serial.
Instance Method Summary collapse
-
#initialize(name, serial) ⇒ Device
constructor
Contructs an Device object.
Constructor Details
#initialize(name, serial) ⇒ Device
Contructs an Device object.
13 14 15 16 |
# File 'lib/android-adb/Device.rb', line 13 def initialize(name, serial) @name = name @serial = serial end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/android-adb/Device.rb', line 7 def name @name end |
#serial ⇒ Object
Returns the value of attribute serial.
7 8 9 |
# File 'lib/android-adb/Device.rb', line 7 def serial @serial end |