Method: IRB::StdioInputMethod#gets
- Defined in:
- lib/irb/input-method.rb
#gets ⇒ Object
47 48 49 50 |
# File 'lib/irb/input-method.rb', line 47 def gets print @prompt @line[@line_no += 1] = $stdin.gets end |
47 48 49 50 |
# File 'lib/irb/input-method.rb', line 47 def gets print @prompt @line[@line_no += 1] = $stdin.gets end |