Skip to content

Commit e6f7480

Browse files
author
Charlie Somerville
committed
Merge pull request #258 from fredwu/pry_0.10.x_compatibility_fix
Fixes compatibility with pry 0.10.x
2 parents c447699 + bd009e1 commit e6f7480

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/better_errors/repl/pry.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def initialize(binding)
3636
@fiber = Fiber.new do
3737
@pry.repl binding
3838
end
39-
@input = Input.new
40-
@output = Output.new
39+
@input = BetterErrors::REPL::Pry::Input.new
40+
@output = BetterErrors::REPL::Pry::Output.new
4141
@pry = ::Pry.new input: @input, output: @output
4242
@pry.hooks.clear_all if defined?(@pry.hooks.clear_all)
4343
@fiber.resume

0 commit comments

Comments
 (0)