Exception: UniversalAccessLogParser::ParsingError

Inherits:
ParserError
  • Object
show all
Defined in:
lib/universal-access-log-parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject (readonly)

Returns the value of attribute line.



14
15
16
# File 'lib/universal-access-log-parser.rb', line 14

def line
  @line
end

#parserObject (readonly)

Returns the value of attribute parser.



14
15
16
# File 'lib/universal-access-log-parser.rb', line 14

def parser
  @parser
end