C:\>irb --simple-prompt
DL is deprecated, please use Fiddle
>> STDIN.gets
I am
=> "I am\n"

Now how to print and clear the content of STDIN?

-- 
Posted via http://www.ruby-forum.com/.