class Merge
Constants
- MOVE_TREE_SCRIPT_PATH
- VERSION
Public Class Methods
new(file, options)
click to toggle source
# File lib/github_merge/merge.rb, line 11 def initialize(file, options) @file = file @options = options @config = YAML.load_file @file @local_merge = LocalMerge.new(@config, @options) @push_merge = PushMerge.new(@config, @options) end
Public Instance Methods
local!()
click to toggle source
# File lib/github_merge/merge.rb, line 19 def local! @local_merge.merge! end
push!()
click to toggle source
# File lib/github_merge/merge.rb, line 23 def push! @local_merge.merge! unless @local_merge.merged? @push_merge.push! end