Class: Rhino::Ruby::Exception
- Defined in:
- lib/rhino/ruby.rb
Overview
“hack” for ruby errors so that they act as JS thrown objects
Instance Method Summary collapse
-
#initialize(value) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(value) ⇒ Exception
Returns a new instance of Exception.
257 258 259 |
# File 'lib/rhino/ruby.rb', line 257 def initialize(value) super wrap_value(value) end |