Exception: EventMachine::HttpTest::TestFailure
- Inherits:
-
Exception
- Object
- Exception
- EventMachine::HttpTest::TestFailure
- Defined in:
- lib/em-http-test/test-failure.rb
Overview
Exception to raise in test code to signify a test failure
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(text) ⇒ TestFailure
constructor
A new instance of TestFailure.
Constructor Details
#initialize(text) ⇒ TestFailure
Returns a new instance of TestFailure.
14 15 16 |
# File 'lib/em-http-test/test-failure.rb', line 14 def initialize(text) self. = text; end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
12 13 14 |
# File 'lib/em-http-test/test-failure.rb', line 12 def @message end |