EditRocket provides the following information on IRB::FileInputMethod functions in the Ruby source code builder.
eof?() -
gets() -
new(file) -