Class: SubshellCommand::Result
- Inherits:
-
Object
- Object
- SubshellCommand::Result
- Defined in:
- lib/subshell_command.rb
Instance Attribute Summary collapse
-
#stderr_value ⇒ Object
Returns the value of attribute stderr_value.
-
#stdout_value ⇒ Object
Returns the value of attribute stdout_value.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize ⇒ Result
constructor
A new instance of Result.
- #success? ⇒ Boolean
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
48 49 50 51 52 |
# File 'lib/subshell_command.rb', line 48 def initialize @success = nil @stdout_value = nil @stderr_value = nil end |
Instance Attribute Details
#stderr_value ⇒ Object
Returns the value of attribute stderr_value.
46 47 48 |
# File 'lib/subshell_command.rb', line 46 def stderr_value @stderr_value end |
#stdout_value ⇒ Object
Returns the value of attribute stdout_value.
46 47 48 |
# File 'lib/subshell_command.rb', line 46 def stdout_value @stdout_value end |
#success ⇒ Object
Returns the value of attribute success.
46 47 48 |
# File 'lib/subshell_command.rb', line 46 def success @success end |
Instance Method Details
#success? ⇒ Boolean
54 55 56 |
# File 'lib/subshell_command.rb', line 54 def success? @success end |