Class: InvocaGems::ShellCommand::Response
- Inherits:
-
Struct
- Object
- Struct
- InvocaGems::ShellCommand::Response
- Defined in:
- lib/invoca_gems/shell_command.rb
Overview
Returns the command output, stripped Or nil if command failed
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
10 11 12 |
# File 'lib/invoca_gems/shell_command.rb', line 10 def code @code end |
#stderr ⇒ Object
Returns the value of attribute stderr
10 11 12 |
# File 'lib/invoca_gems/shell_command.rb', line 10 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
10 11 12 |
# File 'lib/invoca_gems/shell_command.rb', line 10 def stdout @stdout end |