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

Version Path
shaddox-0.0.30 lib/shaddox/repo.rb
shaddox-0.0.29 lib/shaddox/repo.rb
shaddox-0.0.28 lib/shaddox/repo.rb
shaddox-0.0.27 lib/shaddox/repo.rb
shaddox-0.0.26 lib/shaddox/repo.rb
shaddox-0.0.25 lib/shaddox/repo.rb
shaddox-0.0.24 lib/shaddox/repo.rb
shaddox-0.0.23 lib/shaddox/repo.rb