Class: ParseError

Inherits:
Object
  • Object
show all
Defined in:
lib/pqa.rb

Overview

Log file parsers

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#exceptionObject (readonly)

Returns the value of attribute exception.



56
57
58
# File 'lib/pqa.rb', line 56

def exception
  @exception
end

#lineObject (readonly)

Returns the value of attribute line.



56
57
58
# File 'lib/pqa.rb', line 56

def line
  @line
end