Class: TurboTests::Shim::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/turbo_tests/shim.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = message
  @exit_code = exit_code
end

Instance Attribute Details

#exit_codeObject (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

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/turbo_tests/shim.rb', line 6

def message
  @message
end

#pathObject (readonly)

Returns the value of attribute path.



6
7
8
# File 'lib/turbo_tests/shim.rb', line 6

def path
  @path
end

#statusObject (readonly)

Returns the value of attribute status.



6
7
8
# File 'lib/turbo_tests/shim.rb', line 6

def status
  @status
end