Class: Avm::Git::Commit::Deploy
- Includes:
- Files::Appendable
- Defined in:
- lib/avm/git/commit/deploy.rb
Instance Attribute Summary collapse
-
#build_dir ⇒ Object
readonly
Returns the value of attribute build_dir.
-
#commit ⇒ Object
readonly
Returns the value of attribute commit.
-
#target_env ⇒ Object
readonly
Returns the value of attribute target_env.
-
#target_path ⇒ Object
readonly
Returns the value of attribute target_path.
Attributes included from Files::Appendable
Instance Method Summary collapse
-
#initialize(commit, target_env, target_path) ⇒ Deploy
constructor
A new instance of Deploy.
- #run ⇒ Object
Methods included from Files::Appendable
#append_file_content, #append_plain_directory, #append_tar_output_command, #append_templatized_directories, #append_templatized_directory, #appended, #variables_source_set, #write_appended_on
Constructor Details
#initialize(commit, target_env, target_path) ⇒ Deploy
Returns a new instance of Deploy.
18 19 20 21 22 |
# File 'lib/avm/git/commit/deploy.rb', line 18 def initialize(commit, target_env, target_path) @commit = commit @target_env = target_env @target_path = target_path end |
Instance Attribute Details
#build_dir ⇒ Object (readonly)
Returns the value of attribute build_dir.
16 17 18 |
# File 'lib/avm/git/commit/deploy.rb', line 16 def build_dir @build_dir end |
#commit ⇒ Object (readonly)
Returns the value of attribute commit.
16 17 18 |
# File 'lib/avm/git/commit/deploy.rb', line 16 def commit @commit end |
#target_env ⇒ Object (readonly)
Returns the value of attribute target_env.
16 17 18 |
# File 'lib/avm/git/commit/deploy.rb', line 16 def target_env @target_env end |
#target_path ⇒ Object (readonly)
Returns the value of attribute target_path.
16 17 18 |
# File 'lib/avm/git/commit/deploy.rb', line 16 def target_path @target_path end |