Class: ThrowCatchJump
- Inherits:
-
#Exception
- Object
- ThrowCatchJump
- Defined in:
- ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb
Instance Method Summary collapse
- #_tag ⇒ Object
- #_val ⇒ Object
-
#initialize(tag, val) ⇒ ThrowCatchJump
constructor
A new instance of ThrowCatchJump.
Constructor Details
#initialize(tag, val) ⇒ ThrowCatchJump
Returns a new instance of ThrowCatchJump.
2 3 4 5 6 |
# File 'ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb', line 2 def initialize(tag, val) @tag = tag @val = val super("uncaught throw :#{tag}") end |