class Monolith::Application
Attributes
config[R]
Public Class Methods
new(config)
click to toggle source
Calls superclass method
# File lib/monolith/application.rb 5 def initialize(config) 6 @config = config 7 super(config.path) 8 end
Public Instance Methods
branch?(name)
click to toggle source
# File lib/monolith/application.rb 10 def branch?(name) 11 config.branches.empty? || config.branches.include?(name) 12 end
checkout_master()
click to toggle source
# File lib/monolith/application.rb 14 def checkout_master 15 run("checkout master") 16 end
create()
click to toggle source
# File lib/monolith/application.rb 18 def create 19 RepositoryCreator.new(self).create 20 end
merge(repo, branch)
click to toggle source
# File lib/monolith/application.rb 22 def merge(repo, branch) 23 BranchMerger.new(self, repo, branch).merge 24 end
repositories()
click to toggle source
# File lib/monolith/application.rb 26 def repositories 27 RepositoryFinder.new(self) 28 end