Merge pull request #5322 from shuujii/fix-message-of-ThrowCatchJump-in-mruby-catch-gem

Fix message of `ThrowCatchJump` in `mruby-catch` gem
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-02-06 00:42:51 +09:00
committed by GitHub
+1 -1
View File
@@ -2,7 +2,7 @@ class ThrowCatchJump < Exception
def initialize(tag, val)
@tag = tag
@val = val
super("uncaught throw :#{tag}")
super("uncaught throw #{tag.inspect}")
end
def _tag
@tag