On 19 Feb 2009, at 19:47, Ruby Student wrote:
> Hello Team,
>
> Is there a way in Ruby to create primitive ASCII menus?
> At this point I am shying away from GUI as everything outthere, in  
> the GUI
> world is too....
> I just want to know if I can create simple menus of the type:
>
> 1 - Enter 1 and press Enter to continue
> 2 - Enter 2 or X and press Enter to exit
> 3 - Etc.
>
> Thank you

You can find an example of doing this with the termios library by  
following the link in my sig and reading the Camping presentation. For  
more advanced text-based GUIs you could look at ncurses and highline.


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless @reality.responds_to? :reason