From: Liang He Date: 2007-10-29T19:04:52+09:00 Subject: Re: puts gets Lloyd Linklater wrote: > I write this: > > > puts "foo" > some_var = gets > > I expect the foo to show up before the gets occurs but it does not. Any > ideas? Or you could manually flush the buffer: puts "foo" STDOUT.flush some_var = gets -- Posted via http://www.ruby-forum.com/.