From: Roel Harbers Date: 2007-03-12T20:10:17+09:00 Subject: Re: ruby 1.8.5p12: default IO object for gets() ? Unknown wrote: > If I dont prefix gets w/ $stdin then probably > it wants to read data from f IOstream instead of $stdin. > Is it normal? Yes, Kernel#gets reads from the file named ARGV[0], or $stdin if no arguments are specified. Regards, Roel Harbers