From: Adam Shelly Date: 2008-04-24T01:46:55+09:00 Subject: Re: STDIN On 4/23/08, Chinna Karuppan wrote: > Hi, > I was trying to use the STDIN.read in the IRB .This keep eating what > ever I type .it never comes to the next line.I am not sure what is > happening ... the read method without any arguments will read until the end of file. For stdin you can signal end-of-file by typing Ctrl-Z. irb(main):002:0> s=STDIN.read hello world ^Z => "hello\nworld\n"