Class: Jets::CLI::Maintenance
- Inherits:
-
Thor::Base
- Object
- Thor
- Thor::Base
- Jets::CLI::Maintenance
- Defined in:
- lib/jets/cli/maintenance.rb,
lib/jets/cli/maintenance/web.rb,
lib/jets/cli/maintenance/base.rb,
lib/jets/cli/maintenance/mode.rb,
lib/jets/cli/maintenance/worker.rb
Defined Under Namespace
Classes: Base, Mode, Web, Worker
Instance Method Summary collapse
Methods inherited from Thor::Base
dispatch, exit_on_failure?, help_flags, version_flags, website
Methods included from Thor::Help
#capture_stdout_for_help, #help, #paginate_output
Instance Method Details
#off ⇒ Object
21 22 23 |
# File 'lib/jets/cli/maintenance.rb', line 21 def off Mode.new().off end |
#on ⇒ Object
8 9 10 |
# File 'lib/jets/cli/maintenance.rb', line 8 def on Mode.new().on end |
#status ⇒ Object
28 29 30 |
# File 'lib/jets/cli/maintenance.rb', line 28 def status Mode.new().status end |