Class: AdbCommand::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/replicant/commands/adb_command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



4
5
6
# File 'lib/replicant/commands/adb_command.rb', line 4

def code
  @code
end

#outputObject

Returns the value of attribute output.



4
5
6
# File 'lib/replicant/commands/adb_command.rb', line 4

def output
  @output
end

#pidObject

Returns the value of attribute pid.



4
5
6
# File 'lib/replicant/commands/adb_command.rb', line 4

def pid
  @pid
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/replicant/commands/adb_command.rb', line 6

def to_s
  "result: pid=#{pid} code=#{code} output=#{output}"
end