Class: RailsInstaller::Command::Backup

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

Overview

The backup command backs the database up into ‘db/backups’.

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



171
172
173
# File 'lib/rails-installer/commands.rb', line 171

def self.command(installer, *args)
  installer.backup_database
end