Class: OCRunner::TestError

Inherits:
Struct
  • Object
show all
Defined in:
lib/ocrunner/test_error.rb

Overview

Container for test failure info

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/ocrunner/test_error.rb', line 5

def line
  @line
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'lib/ocrunner/test_error.rb', line 5

def message
  @message
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/ocrunner/test_error.rb', line 5

def path
  @path
end