Class: ORS::Commands::Base

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Includes:
Helpers
Defined in:
lib/ors/commands/base.rb

Direct Known Subclasses

Changes, Check, Console, Deploy, Env, Exec, Help, Logs, Migrate, Restart, Runner, Setup, Start, Stop, Sync, Update

Defined Under Namespace

Modules: ClassMethods

Constant Summary

Constants included from ORS::Config

ORS::Config::CONFIG_FILENAME

Instance Method Summary collapse

Methods included from Helpers

#build_command, #bundle_install, #execute_command, #execute_in_parallel, #fatal, #info, #prepare_environment, #restart_server, #run_migrations, #setup_repo, #setup_ruby, #start_server, #stop_server, #update_code

Methods included from ORS::Config

#all_servers, #deploy_directory, #revision, #ruby_servers

Methods included from ORS::Config::ModuleMethods

#git, #parse_config_file, #parse_options, #valid_environments, #valid_options?

Instance Method Details

#run(klass) ⇒ Object



12
13
14
# File 'lib/ors/commands/base.rb', line 12

def run klass
  self.class.run klass
end