Class: TurboTests::Shim::Result
- Inherits:
-
Object
- Object
- TurboTests::Shim::Result
- Defined in:
- lib/turbo_tests/shim.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, path:, message:, exit_code:) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(status:, path:, message:, exit_code:) ⇒ Result
Returns a new instance of Result.
8 9 10 11 12 13 |
# File 'lib/turbo_tests/shim.rb', line 8 def initialize(status:, path:, message:, exit_code:) @status = status @path = path @message = @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
6 7 8 |
# File 'lib/turbo_tests/shim.rb', line 6 def exit_code @exit_code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'lib/turbo_tests/shim.rb', line 6 def @message end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
6 7 8 |
# File 'lib/turbo_tests/shim.rb', line 6 def path @path end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/turbo_tests/shim.rb', line 6 def status @status end |