Exception: Bibtex::LexerError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Bibtex::LexerError
- Defined in:
- lib/bibtex/lexer.rb
Instance Attribute Summary collapse
-
#src_pos ⇒ Object
readonly
Returns the value of attribute src_pos.
Instance Method Summary collapse
-
#initialize(mess, src_pos) ⇒ LexerError
constructor
A new instance of LexerError.
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_pos ⇒ Object (readonly)
Returns the value of attribute src_pos.
41 42 43 |
# File 'lib/bibtex/lexer.rb', line 41 def src_pos @src_pos end |