method

gets

ruby latest stable - Class: IRB::InputMethod
gets()
public

Reads the next line from this input method.

See IO#gets for more information.