class Monolith::RepositoryFinder
Public Class Methods
new(monolith)
click to toggle source
# File lib/monolith/repository_finder.rb 5 def initialize(monolith) 6 @monolith = monolith 7 end
Public Instance Methods
all()
click to toggle source
# File lib/monolith/repository_finder.rb 9 def all 10 @monolith.config.repositories.map do |(name, url)| 11 path = File.expand_path(name, Dir.pwd) 12 Repository.new(path, url) 13 end 14 end