Re: Newbie needs help getting user input



Wayne,
Thanks for the answer. The only problem is that I'm using Windows, not
Unix. I'm having problems with gems in Windows.
PV

Wayne E. Seguin wrote:
Peter,
$ gem install highline


require "highline"
option = Highline.new.ask("Enter option: ")

There are many more things you can do with this gem, check out HighLine:
http://highline.rubyforge.org/


I hope this helps,

~Wayne

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

.



Relevant Pages

  • The REAL reason [was Re: Why the World Went Windows]
    ... Apple is the REAL reason "the World Went Windows." ... They killed GEM ... Apple took legal action on Digital ...
    (comp.sys.mac.advocacy)
  • Re: Todays Updates Have Caused My PC to Run Slow and Choppy
    ... thought,came up with this gem: ... I posted a message in WIndows XP General. ... "friends don't let friends use AOL" ... Windows Help: http://home.neo.rr.com/manna4u/tools.html ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Problems with first gem using Rake/Hoe
    ... that ruby on Windows need to get gem, rake, or other gem installed ... tasks that Rake is failing on I am typing in exactly as Rake is issuing ... Hoe task lack the extension of the command, ... and is just Windows that needs it. ...
    (comp.lang.ruby)
  • Re: A lesson on why Windows dominates computing...
    ... > "GEM was produced by Digital Research back in the 1980s. ... > successful predecessor to Microsoft Windows. ... Simple virtual memory meant programs could use more memory than ...
    (comp.sys.mac.advocacy)
  • Re: working storage values
    ... GUI screens in 1995. ... It was Apple that went to Xerox, and paid then for the visit. ... DRI meanwhile developed GEM and demonstrated a prototype running on MS- ... This pushed MS into _announcing_ Windows later at the ...
    (comp.lang.cobol)