class Indocker::Repositories::Local

Attributes

root_path[R]

Public Instance Methods

clone_path() click to toggle source
# File lib/indocker/repositories/local.rb, line 17
def clone_path
  "/tmp/#{Indocker.configuration.name}/repositories/local/#{project_name}"
end
project_name() click to toggle source
# File lib/indocker/repositories/local.rb, line 9
def project_name
  root_path.split('/').last
end
setup(root_path) click to toggle source
# File lib/indocker/repositories/local.rb, line 4
def setup(root_path)
  @root_path = File.expand_path(root_path)
  self
end