Class: AgentC::Utils::Shell::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/agent_c/utils/shell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



11
12
13
# File 'lib/agent_c/utils/shell.rb', line 11

def command
  @command
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



11
12
13
# File 'lib/agent_c/utils/shell.rb', line 11

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



11
12
13
# File 'lib/agent_c/utils/shell.rb', line 11

def stdout
  @stdout
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



11
12
13
# File 'lib/agent_c/utils/shell.rb', line 11

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/agent_c/utils/shell.rb', line 12

def success?
  success
end