Class: LambdaRubyBundler::CLI::StandardRunner
- Inherits:
-
BaseRunner
- Object
- BaseRunner
- LambdaRubyBundler::CLI::StandardRunner
- Defined in:
- lib/lambda_ruby_bundler/cli/standard_runner.rb
Overview
Runs the executor with given parameters.
Instance Attribute Summary collapse
-
#build_dependencies ⇒ Object
readonly
Returns the value of attribute build_dependencies.
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Attributes inherited from BaseRunner
Instance Method Summary collapse
-
#initialize(root_path, app_path, build_dependencies, paths) ⇒ StandardRunner
constructor
Creates new instance of cache runner.
-
#run ⇒ Hash
Runs the executo.
Constructor Details
#initialize(root_path, app_path, build_dependencies, paths) ⇒ StandardRunner
Creates new instance of cache runner.
19 20 21 22 23 |
# File 'lib/lambda_ruby_bundler/cli/standard_runner.rb', line 19 def initialize(root_path, app_path, build_dependencies, paths) super(root_path, app_path) @build_dependencies = build_dependencies @paths = paths end |
Instance Attribute Details
#build_dependencies ⇒ Object (readonly)
Returns the value of attribute build_dependencies.
7 8 9 |
# File 'lib/lambda_ruby_bundler/cli/standard_runner.rb', line 7 def build_dependencies @build_dependencies end |
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
7 8 9 |
# File 'lib/lambda_ruby_bundler/cli/standard_runner.rb', line 7 def paths @paths end |
Instance Method Details
#run ⇒ Hash
Runs the executo. Returns hash with two keys:
:application_bundle => path to the application code bundle
:dependency_layer => path to dependency bundle
30 31 32 |
# File 'lib/lambda_ruby_bundler/cli/standard_runner.rb', line 30 def run bundle(build_dependencies) end |