Class: RailsInstaller::Command::Restore

Inherits:
RailsInstaller::Command show all
Defined in:
lib/rails-installer/commands.rb

Overview

The restore command restores a backup.

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



181
182
183
# File 'lib/rails-installer/commands.rb', line 181

def self.command(installer, *args)
  installer.restore_database(args.first)
end