From: Daniel Finnie Date: 2008-04-14T12:27:47+09:00 Subject: Re: gets.chomp....... not function Hi, Can you post your code? Generally, programs requiring user interaction do not work well in programs like SCiTE and should be run from the command line. Here is an example of using gets: puts "What is your favorite color?" color = gets if gets == "red" puts "that's mine too!" else puts "bad choice..." end Dan On Sun, Apr 13, 2008 at 11:13 PM, Vister Gade wrote: > heloo.... i m a beginner of ruby... > > so i have a problem about gets function or gets.chomp..... > > when i run at SciTE.... it will not do anything... just a command > blank.... > if i run it from file to ruby interpreter... the question will appear... > but when i insert input and enter... it will disappear.... > > > what are the problem is had... and what are the solution..... > > please help..... > > thanks... > -- > Posted via http://www.ruby-forum.com/. > >