Class: ParseError
- Inherits:
-
Object
- Object
- ParseError
- Defined in:
- lib/pqa.rb
Overview
Log file parsers
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(e, line) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(e, line) ⇒ ParseError
Returns a new instance of ParseError.
57 58 59 60 |
# File 'lib/pqa.rb', line 57 def initialize(e, line) @exception = e @line = line end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
56 57 58 |
# File 'lib/pqa.rb', line 56 def exception @exception end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
56 57 58 |
# File 'lib/pqa.rb', line 56 def line @line end |