class PairingMatrix::LocalRepos
Attributes
repositories[R]
url[R]
Public Class Methods
create_from(authors_regex, config)
click to toggle source
# File lib/pairing_matrix/config/local_repos.rb, line 10 def self.create_from(authors_regex, config) repos = config['repositories'] rescue [] LocalRepos.new(authors_regex, repos) end
new(authors_regex, repos)
click to toggle source
# File lib/pairing_matrix/config/local_repos.rb, line 5 def initialize(authors_regex, repos) @repositories = repos @authors_regex = authors_regex end
Public Instance Methods
absent?()
click to toggle source
# File lib/pairing_matrix/config/local_repos.rb, line 15 def absent? @repositories.empty? end