Method: Commander::UI.choose
- Defined in:
- lib/commander/user_interaction.rb
.choose(message = nil, *choices, &block) ⇒ Object
Choose from a set array of choices.
43 44 45 46 |
# File 'lib/commander/user_interaction.rb', line 43 def choose = nil, *choices, &block say if super(*choices, &block) end |