Exception: Dryml::DrymlException
- Inherits:
-
Exception
- Object
- Exception
- Dryml::DrymlException
- Defined in:
- lib/dryml.rb
Instance Method Summary collapse
-
#initialize(message, path = nil, line_num = nil) ⇒ DrymlException
constructor
A new instance of DrymlException.
Constructor Details
#initialize(message, path = nil, line_num = nil) ⇒ DrymlException
Returns a new instance of DrymlException.
25 26 27 28 29 30 31 |
# File 'lib/dryml.rb', line 25 def initialize(, path=nil, line_num=nil) if path && line_num super( + " -- at #{path}:#{line_num}") else super() end end |