Sha256: bf13bced808b276283b155f400c45ac20d7657152942e15c67ed2a4b6f3c6398
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
module PairingMatrix class LocalRepos attr_reader :repositories, :url, :authors_regex def initialize(authors_regex, repos) @repositories = repos @authors_regex = authors_regex end def self.create_from(authors_regex, config) repos = config['repositories'] rescue [] LocalRepos.new(authors_regex, repos) end def absent? @repositories.empty? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pairing_matrix-3.0.0 | lib/pairing_matrix/config/local_repos.rb |