Class: RailsInstaller::Command::Restart
- Inherits:
-
RailsInstaller::Command
- Object
- RailsInstaller::Command
- RailsInstaller::Command::Restart
- Defined in:
- lib/rails-installer/commands.rb
Overview
The restart
command stops and restarts the web server.
Class Method Summary collapse
Methods inherited from RailsInstaller::Command
commands, flag_help, flag_help_text, help, help_text, inherited
Class Method Details
.command(installer, *args) ⇒ Object
152 153 154 155 |
# File 'lib/rails-installer/commands.rb', line 152 def self.command(installer, *args) installer.stop installer.start end |