Class: KTools::Application
- Inherits:
-
Object
- Object
- KTools::Application
- Defined in:
- lib/ktools/application.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Application
constructor
A new instance of Application.
- #start ⇒ Object
Constructor Details
Instance Method Details
#start ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/ktools/application.rb', line 11 def start case @command when 'spy' Tools::Spy.start(@tail) when 'deliver' Tools::Deliver.start(@tail) when 'swap' Tools::Swap.start(@tail) when 'setup' Setup.perform else Tools::Help.display end end |