Sha256: d5b938c6b6eddd3ab5936dbb3bcdfc327bbba8527fb2e981ec96ce21ceb50185

Contents?: true

Size: 268 Bytes

Versions: 15

Compression:

Stored size: 268 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
		end

		def to_source
			"Shaddox::Repo.new(#{@info.inspect})"
		end
	end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
shaddox-0.0.19 lib/shaddox/repo.rb
shaddox-0.0.18 lib/shaddox/repo.rb
shaddox-0.0.17 lib/shaddox/repo.rb
shaddox-0.0.16 lib/shaddox/repo.rb
shaddox-0.0.15 lib/shaddox/repo.rb
shaddox-0.0.14 lib/shaddox/repo.rb
shaddox-0.0.13 lib/shaddox/repo.rb
shaddox-0.0.12 lib/shaddox/repo.rb
shaddox-0.0.11 lib/shaddox/repo.rb
shaddox-0.0.10 lib/shaddox/repo.rb
shaddox-0.0.9 lib/shaddox/repo.rb
shaddox-0.0.8 lib/shaddox/repo.rb
shaddox-0.0.7 lib/shaddox/repo.rb
shaddox-0.0.6 lib/shaddox/repo.rb
shaddox-0.0.5 lib/shaddox/repo.rb