Exception: MathML::LaTeX::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- MathML::LaTeX::ParseError
- Defined in:
- lib/math_ml/latex.rb
Instance Attribute Summary collapse
-
#done ⇒ Object
Returns the value of attribute done.
-
#rest ⇒ Object
Returns the value of attribute rest.
Instance Method Summary collapse
-
#initialize(message, rest = "", done = "") ⇒ ParseError
constructor
A new instance of ParseError.
- #inspect ⇒ Object
Constructor Details
#initialize(message, rest = "", done = "") ⇒ ParseError
Returns a new instance of ParseError.
154 155 156 157 158 |
# File 'lib/math_ml/latex.rb', line 154 def initialize(, rest = "", done = "") @done = done @rest = rest super() end |
Instance Attribute Details
#done ⇒ Object
Returns the value of attribute done.
153 154 155 |
# File 'lib/math_ml/latex.rb', line 153 def done @done end |
#rest ⇒ Object
Returns the value of attribute rest.
153 154 155 |
# File 'lib/math_ml/latex.rb', line 153 def rest @rest end |
Instance Method Details
#inspect ⇒ Object
160 161 162 |
# File 'lib/math_ml/latex.rb', line 160 def inspect "#{} : '#{@done}' / '#{@rest}'\n"+backtrace[0..5].join("\n") end |