Exception: RunJS::CompileError
- Defined in:
- lib/runjs/error.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(message, source) ⇒ CompileError
constructor
A new instance of CompileError.
Constructor Details
#initialize(message, source) ⇒ CompileError
Returns a new instance of CompileError.
10 11 12 13 |
# File 'lib/runjs/error.rb', line 10 def initialize(, source) @source = source super() end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
8 9 10 |
# File 'lib/runjs/error.rb', line 8 def source @source end |