[ruby/irb] Add workaround for ruby/debug/test/console/irb_test
failing with StdioInputMethod (https://github.com/ruby/irb/pull/943) https://github.com/ruby/irb/commit/acf3c1816e
This commit is contained in:
parent
7c0cf71049
commit
032070d793
@ -67,6 +67,7 @@ module IRB
|
||||
#
|
||||
# See IO#gets for more information.
|
||||
def gets
|
||||
puts
|
||||
print @prompt
|
||||
line = @stdin.gets
|
||||
@line[@line_no += 1] = line
|
||||
|
Loading…
x
Reference in New Issue
Block a user