Exception: UniversalAccessLogParser::ParsingError
- Inherits:
-
ParserError
- Object
- ArgumentError
- ParserError
- UniversalAccessLogParser::ParsingError
- Defined in:
- lib/universal-access-log-parser.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#parser ⇒ Object
readonly
Returns the value of attribute parser.
Instance Method Summary collapse
-
#initialize(msg, parser, line) ⇒ ParsingError
constructor
A new instance of ParsingError.
Constructor Details
#initialize(msg, parser, line) ⇒ ParsingError
Returns a new instance of ParsingError.
8 9 10 11 12 |
# File 'lib/universal-access-log-parser.rb', line 8 def initialize(msg, parser, line) @parser = parser @line = line super(msg) end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
14 15 16 |
# File 'lib/universal-access-log-parser.rb', line 14 def line @line end |
#parser ⇒ Object (readonly)
Returns the value of attribute parser.
14 15 16 |
# File 'lib/universal-access-log-parser.rb', line 14 def parser @parser end |