Exception: ErbLatex::LatexError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ErbLatex::LatexError
- Defined in:
- lib/erb_latex/errors.rb
Overview
Encapsolates an error that occurs while processing a latex template
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
-
#initialize(msg, log = '') ⇒ LatexError
constructor
A new instance of LatexError.
Constructor Details
#initialize(msg, log = '') ⇒ LatexError
Returns a new instance of LatexError.
10 11 12 13 |
# File 'lib/erb_latex/errors.rb', line 10 def initialize( msg, log = '') super(msg) @log = log end |
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log.
8 9 10 |
# File 'lib/erb_latex/errors.rb', line 8 def log @log end |