class Pod::ArtSource
Subclass of Pod::Source
to provide support for Artifactory Specs repositories
Public Class Methods
new(repo, url)
click to toggle source
@param [String] repo The name of the repository
@param [String] url see {#url}
Calls superclass method
# File lib/art_source.rb, line 12 def initialize(repo, url) super(repo) @source_url = url end
Public Instance Methods
git?()
click to toggle source
# File lib/art_source.rb, line 27 def git? false end
url()
click to toggle source
@return url of this repo
# File lib/art_source.rb, line 18 def url if @source_url "#{@source_url}" else # after super(repo) repo is now the path to the repo File.read("#{repo}/.artpodrc") if File.exist?("#{dir}/.artpodrc") end end
Also aliased as: old_url