Exception: NCSAParser::BadLogLine
- Inherits:
-
Exception
- Object
- Exception
- NCSAParser::BadLogLine
- Defined in:
- lib/ncsa-parser/parser.rb
Instance Method Summary collapse
-
#initialize(line, pattern) ⇒ BadLogLine
constructor
A new instance of BadLogLine.
Constructor Details
#initialize(line, pattern) ⇒ BadLogLine
Returns a new instance of BadLogLine.
8 9 10 |
# File 'lib/ncsa-parser/parser.rb', line 8 def initialize(line, pattern) super("Bad log line. Pattern: |#{pattern.join(' ')}| Line: |#{line}|") end |