Class: Veewee::Provider::Core::Helper::ShellResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stdout, stderr, status) ⇒ ShellResult

Returns a new instance of ShellResult.



11
12
13
14
15
# File 'lib/veewee/provider/core/helper/shell.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/shell.rb', line 9

def status
  @status
end

#stderrObject

Returns the value of attribute stderr.



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

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



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

def stdout
  @stdout
end