From 10e830c25b61f4c54d5980de4a10c591f91c5f44 Mon Sep 17 00:00:00 2001 From: st0012 Date: Sun, 2 Oct 2022 10:25:55 +0100 Subject: [PATCH] [ruby/irb] Remove unused error https://github.com/ruby/irb/commit/f09a1874b6 --- lib/irb/lc/error.rb | 5 ----- lib/irb/lc/ja/error.rb | 5 ----- 2 files changed, 10 deletions(-) diff --git a/lib/irb/lc/error.rb b/lib/irb/lc/error.rb index b8a7fe5a0e..cb5c21cdb4 100644 --- a/lib/irb/lc/error.rb +++ b/lib/irb/lc/error.rb @@ -48,11 +48,6 @@ module IRB super("No such job(#{val}).") end end - class CantShiftToMultiIrbMode < StandardError - def initialize - super("Can't shift to multi irb mode.") - end - end class CantChangeBinding < StandardError def initialize(val) super("Can't change binding to (#{val}).") diff --git a/lib/irb/lc/ja/error.rb b/lib/irb/lc/ja/error.rb index d7c181c02e..5e3622cbae 100644 --- a/lib/irb/lc/ja/error.rb +++ b/lib/irb/lc/ja/error.rb @@ -48,11 +48,6 @@ module IRB super("そのようなジョブ(#{val})はありません.") end end - class CantShiftToMultiIrbMode < StandardError - def initialize - super("multi-irb modeに移れません.") - end - end class CantChangeBinding < StandardError def initialize(val) super("バインディング(#{val})に変更できません.")