Class: Mutx::Base
- Inherits:
-
Thor
- Object
- Thor
- Mutx::Base
- Defined in:
- lib/mutx.rb
Instance Method Summary collapse
- #bye ⇒ Object
- #help ⇒ Object
- #install ⇒ Object
- #reset ⇒ Object
- #reset_tasks ⇒ Object
- #restart ⇒ Object
- #start ⇒ Object
- #stop ⇒ Object
Instance Method Details
#bye ⇒ Object
85 86 87 88 89 |
# File 'lib/mutx.rb', line 85 def bye if yes? "Are you sure to say bye to Mutx? (yes/no)" Mutx::Commands.bye end end |
#reset ⇒ Object
73 74 75 76 77 |
# File 'lib/mutx.rb', line 73 def reset if yes? "Are you sure to reset all register? (yes/no)" Mutx::Commands.reset end end |
#reset_tasks ⇒ Object
80 81 82 |
# File 'lib/mutx.rb', line 80 def reset_tasks Mutx::Commands.reset_tasks end |