Exception: Raptest::TestError

Inherits:
Exception
  • Object
show all
Defined in:
lib/raptest/test_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component, file, message) ⇒ TestError

Returns a new instance of TestError.



4
5
6
7
8
# File 'lib/raptest/test_error.rb', line 4

def initialize(component, file, message)
  @component = component
  @file      = file
  @message   = message
end

Instance Attribute Details

#componentObject

Returns the value of attribute component.



3
4
5
# File 'lib/raptest/test_error.rb', line 3

def component
  @component
end

#fileObject

Returns the value of attribute file.



3
4
5
# File 'lib/raptest/test_error.rb', line 3

def file
  @file
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/raptest/test_error.rb', line 3

def message
  @message
end