Exception: Bibtex::LexerError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/bibtex/lexer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mess, src_pos) ⇒ LexerError

Returns a new instance of LexerError.


43
44
45
46
# File 'lib/bibtex/lexer.rb', line 43

def initialize(mess, src_pos)
  super(mess)
  @src_pos = src_pos
end

Instance Attribute Details

#src_posObject (readonly)

Returns the value of attribute src_pos.


41
42
43
# File 'lib/bibtex/lexer.rb', line 41

def src_pos
  @src_pos
end