[ruby/irb] Remove useless begin
/end
[ci skip]
(https://github.com/ruby/irb/pull/680) The `rescue` was removed at https://github.com/ruby/irb/commit/420e7d227011. https://github.com/ruby/irb/commit/8fa688e9c0
This commit is contained in:
parent
eb221a3734
commit
3af5badae8
@ -159,7 +159,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
|
||||||
class ReadlineInputMethod < StdioInputMethod
|
class ReadlineInputMethod < StdioInputMethod
|
||||||
def self.initialize_readline
|
def self.initialize_readline
|
||||||
require "readline"
|
require "readline"
|
||||||
@ -220,7 +219,6 @@ module IRB
|
|||||||
str
|
str
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
class RelineInputMethod < StdioInputMethod
|
class RelineInputMethod < StdioInputMethod
|
||||||
HISTORY = Reline::HISTORY
|
HISTORY = Reline::HISTORY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user