class Pod::ArtifactoryRepo

Attributes

name[R]
path[R]
url[R]

Public Class Methods

new(path, url) click to toggle source
# File lib/pod/artifactory_repo.rb, line 3
def initialize(path, url)
  @path = path
  @url = url
  create_name
end

Public Instance Methods

create_name() click to toggle source
# File lib/pod/artifactory_repo.rb, line 9
def create_name
  split = @path.split("/")
  if split.length > 0
    @name = split[split.length - 1]
  end
end