We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$stdin.gets
gets
1 parent 2aacf6c commit f646b9bCopy full SHA for f646b9b
lib/debug/console.rb
@@ -40,7 +40,7 @@ def quit n
40
def ask prompt
41
setup_interrupt do
42
print prompt
43
- (gets || '').strip
+ ($stdin.gets || '').strip
44
end
45
46
0 commit comments