Exception: Herb::Engine::InvalidRubyError
- Inherits:
-
CompilationError
- Object
- StandardError
- CompilationError
- Herb::Engine::InvalidRubyError
- Defined in:
- lib/herb/engine.rb
Instance Attribute Summary collapse
-
#compiled_source ⇒ Object
readonly
Returns the value of attribute compiled_source.
Instance Method Summary collapse
-
#initialize(message, compiled_source: nil) ⇒ InvalidRubyError
constructor
A new instance of InvalidRubyError.
Constructor Details
#initialize(message, compiled_source: nil) ⇒ InvalidRubyError
Returns a new instance of InvalidRubyError.
51 52 53 54 55 |
# File 'lib/herb/engine.rb', line 51 def initialize(, compiled_source: nil) @compiled_source = compiled_source super() end |
Instance Attribute Details
#compiled_source ⇒ Object (readonly)
Returns the value of attribute compiled_source.
49 50 51 |
# File 'lib/herb/engine.rb', line 49 def compiled_source @compiled_source end |