Exception: Bunch::CompileError
- Inherits:
-
StandardError
- Object
- StandardError
- Bunch::CompileError
- Defined in:
- lib/bunch.rb
Instance Method Summary collapse
-
#initialize(exception, filename) ⇒ CompileError
constructor
A new instance of CompileError.
- #message ⇒ Object
Constructor Details
#initialize(exception, filename) ⇒ CompileError
Returns a new instance of CompileError.
30 31 32 33 |
# File 'lib/bunch.rb', line 30 def initialize(exception, filename) @exception = exception @filename = filename end |
Instance Method Details
#message ⇒ Object
35 36 37 |
# File 'lib/bunch.rb', line 35 def "#{@filename}: #{@exception.}" end |