Class: StiDeploy::Git::Merge
- Inherits:
-
Object
- Object
- StiDeploy::Git::Merge
- Defined in:
- lib/sti_deploy/git/merge.rb
Instance Attribute Summary collapse
-
#origin ⇒ Object
readonly
Returns the value of attribute origin.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(origin_branch, target_branch) ⇒ Merge
constructor
A new instance of Merge.
- #merge! ⇒ Object
Constructor Details
#initialize(origin_branch, target_branch) ⇒ Merge
Returns a new instance of Merge.
6 7 8 9 |
# File 'lib/sti_deploy/git/merge.rb', line 6 def initialize(origin_branch, target_branch) @origin = origin_branch @target = target_branch end |
Instance Attribute Details
#origin ⇒ Object (readonly)
Returns the value of attribute origin.
4 5 6 |
# File 'lib/sti_deploy/git/merge.rb', line 4 def origin @origin end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
4 5 6 |
# File 'lib/sti_deploy/git/merge.rb', line 4 def target @target end |