Class: GitWrapper::Commands::Merge
- Defined in:
- lib/git_wrapper/commands/merge.rb
Instance Attribute Summary
Attributes inherited from Git
#error, #location_folder, #output
Instance Method Summary collapse
Methods inherited from Git
#execute, #initialize, #result, #to_relative_path
Constructor Details
This class inherits a constructor from GitWrapper::Commands::Git
Instance Method Details
#command ⇒ Object
10 11 12 |
# File 'lib/git_wrapper/commands/merge.rb', line 10 def command "merge #{@commit}" end |
#commit(commit) ⇒ Object
5 6 7 8 |
# File 'lib/git_wrapper/commands/merge.rb', line 5 def commit(commit) @commit = commit self end |