Method: Deadfire::ImportException#initialize
- Defined in:
- lib/deadfire/errors.rb
#initialize(filename = "", lineno = "") ⇒ ImportException
Returns a new instance of ImportException.
19 20 21 22 23 24 25 26 27 |
# File 'lib/deadfire/errors.rb', line 19 def initialize(filename = "", lineno = "") msg = if filename "Error importing file: `#{filename}` line: #{lineno}" else "Error importing file." end super(msg) end |