Class: Veewee::Provider::Core::Helper::SshResult

Inherits:
Object
  • Object
show all
Defined in:
lib/veewee/provider/core/helper/ssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stdout, stderr, status) ⇒ SshResult

Returns a new instance of SshResult



11
12
13
14
15
# File 'lib/veewee/provider/core/helper/ssh.rb', line 11

def initialize(stdout,stderr,status)
  @stdout=stdout
  @stderr=stderr
  @status=status
end

Instance Attribute Details

#statusObject

Returns the value of attribute status



9
10
11
# File 'lib/veewee/provider/core/helper/ssh.rb', line 9

def status
  @status
end

#stderrObject

Returns the value of attribute stderr



8
9
10
# File 'lib/veewee/provider/core/helper/ssh.rb', line 8

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout



7
8
9
# File 'lib/veewee/provider/core/helper/ssh.rb', line 7

def stdout
  @stdout
end