Class: Obfusk::Util::Shc

Inherits:
Struct
  • Object
show all
Includes:
ShBase
Defined in:
lib/obfusk/util/sh.rb

Overview

shell capture result

Instance Attribute Summary collapse

Method Summary

Methods included from ShBase

#ok!, #ok?

Instance Attribute Details

#cmdObject

Returns the value of attribute cmd



41
42
43
# File 'lib/obfusk/util/sh.rb', line 41

def cmd
  @cmd
end

#statusObject

Returns the value of attribute status



41
42
43
# File 'lib/obfusk/util/sh.rb', line 41

def status
  @status
end

#stderrObject

Returns the value of attribute stderr



41
42
43
# File 'lib/obfusk/util/sh.rb', line 41

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout



41
42
43
# File 'lib/obfusk/util/sh.rb', line 41

def stdout
  @stdout
end