Exception: Fakettp::Expectation::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Fakettp::Expectation::Error
- Defined in:
- lib/fakettp/expectation.rb
Instance Attribute Summary collapse
-
#line_number ⇒ Object
readonly
Returns the value of attribute line_number.
Instance Method Summary collapse
-
#initialize(message, line_number = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, line_number = nil) ⇒ Error
Returns a new instance of Error.
11 12 13 14 |
# File 'lib/fakettp/expectation.rb', line 11 def initialize , line_number = nil @line_number = line_number super() end |
Instance Attribute Details
#line_number ⇒ Object (readonly)
Returns the value of attribute line_number.
10 11 12 |
# File 'lib/fakettp/expectation.rb', line 10 def line_number @line_number end |