Class: RedDrop
- Inherits:
-
Object
- Object
- RedDrop
- Defined in:
- lib/red_drop.rb,
lib/red_drop/version.rb
Constant Summary collapse
- VERSION =
"0.5.0"
Instance Method Summary collapse
- #begin ⇒ Object
-
#initialize ⇒ RedDrop
constructor
A new instance of RedDrop.
Constructor Details
Instance Method Details
#begin ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/red_drop.rb', line 17 def begin input = nil until input.eql? "exit" puts "\nEnter from task menu below.\n#{@task_menu.keys << "exit"}\n\n" input = gets.chomp @task_menu[input].execute if @task_menu.has_key? input end end |