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

Returns:

  • (Object)

    the current value of cmd



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

def cmd
  @cmd
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



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

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



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

def stdout
  @stdout
end