Class: Start
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Start
- Includes:
- DockerMgr::Util
- Defined in:
- lib/commands/start.rb
Instance Method Summary collapse
Methods included from DockerMgr::Util
#add_line_to_routine, #add_packages, #add_trust, #admin_dir, #apps_dir, #attic_dir, #backup_dir, #base_images_dir, #cert_dir, #config, #data_services, #exec_hook, #extract_date, #extract_email, #extract_git_variable, #extract_name, #generate_ca_installer, #install_dir, #package_tar, #proxy_dir, #remove_line_from_routine, #root_dir, #root_dir_condition, #routine_dir, #runner_dir, #service_hooks_for, #services, #vhost_dir, #volumes
Instance Method Details
#start ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/commands/start.rb', line 11 def start if @app_name start_app(@app_name) else Dir.entries(apps_dir) .select{|e| e != '.' && e != '..'} .each(&method(:start_app)) end end |