Module: RTask::UI
- Defined in:
- lib/rtask/ui.rb,
lib/rtask/ui/curses.rb
Defined Under Namespace
Classes: CursesInterface
Class Method Summary collapse
-
.start(rtask, name) ⇒ Object
Start the user interface.
Class Method Details
.start(rtask, name) ⇒ Object
Start the user interface.
3 4 5 6 7 8 9 |
# File 'lib/rtask/ui.rb', line 3 def self.start(rtask, name) case name when :curses require "rtask/ui/curses" RTask::UI::CursesInterface.new(rtask).start end end |