Sha256: 4415313d1cedcc8308dc5a817fe137d503317a8e908afed1ffb9de6bc8c89cde
Contents?: true
Size: 311 Bytes
Versions: 3
Compression:
Stored size: 311 Bytes
Contents
module Shaddox class Repo attr_reader :url, :branch, :vcs def initialize(info) @info = info @url = info[:url] @branch = info[:branch] || 'master' @vcs = info[:vcs] || :git @shared = [info[:shared]].flatten || [] end def to_source "Shaddox::Repo.new(#{@info.inspect})" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shaddox-0.0.22 | lib/shaddox/repo.rb |
shaddox-0.0.21 | lib/shaddox/repo.rb |
shaddox-0.0.20 | lib/shaddox/repo.rb |