Hi there, I was looking around for some beginners forum for ruby to share little portions of code and help each other with some mistakes on them, or trying to improve it. I've been playing around with ruby for the last 2 weeks and I've followed lots of guides and video tutorial, but when I tried to port some C++ codes to ruby just to practise a bit I found lots of problems with simple things as getting input data from the keyb. Finally I did: print "Type the first number: " STDOUT.flush a = gets.to_i print "Type the second number: " STDOUT.flush b = gets.to_i But it doesn't look too good to me, is there any more elegant way to get data? :D Anyway... I'm not sure if this is the right place for asking such things, so that's why I was asking for another specific beginners forum. Thanks in advance! -- Posted via http://www.ruby-forum.com/.