Did you try anything or just jump straight here to ask?

puts "1. Do something here"
puts "2. I want this"
puts "3. Hmm"

x = gets

case x
when "1"
  ...
when "2"
  ...
when "3"
  ...
end

Unless you're not including enough detail for a proper answer, a quick
jaunt through any Ruby book/tutorial/website would get you at least
this far.

Jason

On Thu, Feb 19, 2009 at 2:47 PM, Ruby Student <ruby.student / gmail.com> 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
>
> --
> Ruby Student
>