From: Ruby Newbee Date: 2009-12-09T17:20:35+09:00 Subject: Re: a gets problem On Wed, Dec 9, 2009 at 3:45 PM, Seebs wrote: > On 2009-12-09, Ruby Newbee wrote: >> How to re-gets it then? > > No clue.  Why not try, you know, NOT DOING THAT? > but if I inputed a ENTER rather than two "ctrl +D", thing works fine. irb(main):001:0> x = gets hello => "hello\n" irb(main):002:0> x = gets world => "world\n"