Class: Matchd::CLI::Main
- Inherits:
-
Thor
- Object
- Thor
- Matchd::CLI::Main
- Includes:
- ConfigFileOption
- Defined in:
- lib/matchd/cli/main.rb
Instance Method Summary collapse
Methods included from ConfigFileOption
Instance Method Details
#restart ⇒ Object
37 38 39 40 |
# File 'lib/matchd/cli/main.rb', line 37 def restart invoke :stop invoke :start end |
#start ⇒ Object
14 15 16 |
# File 'lib/matchd/cli/main.rb', line 14 def start Matchd::Control.new.start(ontop: ![:deamonize]) end |