Method: IRB::StdioInputMethod#gets

Defined in:
lib/irb/input-method.rb

#getsObject



47
48
49
50
# File 'lib/irb/input-method.rb', line 47

def gets
  print @prompt
  @line[@line_no += 1] = $stdin.gets
end