Exception: Tex2png::Error
- Inherits:
-
Exception
- Object
- Exception
- Tex2png::Error
- Defined in:
- lib/tex2png/errors.rb
Class Method Summary collapse
Class Method Details
.raise!(msg = nil, &cond) ⇒ Object
3 4 5 |
# File 'lib/tex2png/errors.rb', line 3 def self.raise!(msg = nil, &cond) raise self.new(msg) if !cond || cond.call end |