Module: Cumuli
- Defined in:
- lib/cumuli/ps.rb,
lib/cumuli/facade.rb,
lib/cumuli/waiter.rb,
lib/cumuli/cli/cli.rb,
lib/cumuli/version.rb,
lib/cumuli/cli/args.rb,
lib/cumuli/spawner/app.rb,
lib/cumuli/cli/terminal.rb,
lib/cumuli/cli/commander.rb,
lib/cumuli/cli/remote_command.rb,
lib/cumuli/spawner/foreman_proc.rb,
lib/cumuli/spawner/stdout_logger.rb,
lib/cumuli/project_manager/manager.rb,
lib/cumuli/project_manager/project.rb
Defined Under Namespace
Modules: ProjectManager, Spawner Classes: CLI, PS, Waiter
Constant Summary collapse
- VERSION =
"0.4.1"
Class Attribute Summary collapse
-
.app_dir ⇒ Object
Returns the value of attribute app_dir.
-
.env ⇒ Object
Returns the value of attribute env.
-
.log_dir ⇒ Object
Returns the value of attribute log_dir.
-
.wait_time ⇒ Object
Returns the value of attribute wait_time.
Class Method Summary collapse
Class Attribute Details
.app_dir ⇒ Object
Returns the value of attribute app_dir.
17 18 19 |
# File 'lib/cumuli/facade.rb', line 17 def app_dir @app_dir end |
.env ⇒ Object
Returns the value of attribute env.
17 18 19 |
# File 'lib/cumuli/facade.rb', line 17 def env @env end |
.log_dir ⇒ Object
Returns the value of attribute log_dir.
17 18 19 |
# File 'lib/cumuli/facade.rb', line 17 def log_dir @log_dir end |
.wait_time ⇒ Object
Returns the value of attribute wait_time.
17 18 19 |
# File 'lib/cumuli/facade.rb', line 17 def wait_time @wait_time end |
Class Method Details
.start(env = 'test') ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/cumuli/facade.rb', line 2 def self.start(env='test') @app ||= App.new({ env: env, log_dir: log_dir, app_dir: app_dir, wait_time: wait_time || App::DEFAULT_WAIT_TIME }) @app.start end |
.stop ⇒ Object
12 13 14 |
# File 'lib/cumuli/facade.rb', line 12 def self.stop @app.stop end |