From: 7stud -- Date: 2009-10-14T12:16:47+09:00 Subject: Re: How to execute a break in a loop via user input Thomas Wilson wrote: > Hi all, > > i am a complete noobie here to Ruby and programming in general. > > I was looking for the best way to break a loop using "user input" via > gets. > > I have a loop running that needs to be broken when the user hits a > specified key. > ...and then hits return? Otherwise, you are getting into advanced stuff. -- Posted via http://www.ruby-forum.com/.