Method: IRB::FileInputMethod#gets

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

#getsObject

Reads the next line from this input method.

See IO#gets for more information.



155
156
157
158
# File 'lib/irb/input-method.rb', line 155

def gets
  print @prompt
  @io.gets
end