Class: Boxes::Testing::Command::Response
- Inherits:
-
Object
- Object
- Boxes::Testing::Command::Response
- Defined in:
- lib/boxes/testing/command.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
Returns the value of attribute cmd.
-
#exit_status ⇒ Object
Returns the value of attribute exit_status.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(cmd, stdout, exit_status) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(cmd, stdout, exit_status) ⇒ Response
Returns a new instance of Response.
15 16 17 18 19 |
# File 'lib/boxes/testing/command.rb', line 15 def initialize(cmd, stdout, exit_status) @cmd = cmd @stdout = stdout @exit_status = exit_status end |
Instance Attribute Details
#cmd ⇒ Object
Returns the value of attribute cmd.
13 14 15 |
# File 'lib/boxes/testing/command.rb', line 13 def cmd @cmd end |
#exit_status ⇒ Object
Returns the value of attribute exit_status.
13 14 15 |
# File 'lib/boxes/testing/command.rb', line 13 def exit_status @exit_status end |
#stdout ⇒ Object
Returns the value of attribute stdout.
13 14 15 |
# File 'lib/boxes/testing/command.rb', line 13 def stdout @stdout end |