Class: ThrowCatchJump

Inherits:
#Exception show all
Defined in:
ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb

Instance Method Summary collapse

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

Instance Method Details

#_tagObject



7
8
9
# File 'ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb', line 7

def _tag
  @tag
end

#_valObject



10
11
12
# File 'ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb', line 10

def _val
  @val
end