Module: Shnell

Includes:
Filander, Actions::Database, Actions::Ftp, Actions::GemInstall, Actions::GitClone, Backup, Config
Defined in:
lib/shnell.rb,
lib/shnell/backup.rb,
lib/shnell/config.rb

Defined Under Namespace

Modules: Actions, Backup, Config

Class Method Summary collapse

Methods included from Backup

#backup, #restore, #service

Methods included from Actions::GitClone

#git_clone

Methods included from Actions::GemInstall

#gem_install

Methods included from Actions::Database

#create_database

Methods included from Config

#config, #db_credentials, #db_password, #db_user, #ftp_host, #ftp_password, #ftp_user, #read_config, #write_config

Methods included from Actions::Ftp

#ftp_get, #ftp_put

Class Method Details

.behavior=(value) ⇒ Object



19
20
21
22
# File 'lib/shnell.rb', line 19

def behavior=(value)
  Filander.behavior = value
  Backup.behavior = value
end

.quiet=(value) ⇒ Object



24
25
26
# File 'lib/shnell.rb', line 24

def quiet=(value)
  Filander.quiet = value
end

.source_root=(value) ⇒ Object



28
29
30
# File 'lib/shnell.rb', line 28

def source_root=(value)
  Filander.source_root = value
end