Sha256: 7c64d7b1a6a7096a4196654d9c235aacd63490d6608e5c5fe41c64fb022ecf2a
Contents?: true
Size: 320 Bytes
Versions: 8
Compression:
Stored size: 320 Bytes
Contents
module Shaddox class Repo attr_reader :url, :branch, :vcs, :shared 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
8 entries across 8 versions & 1 rubygems