class Pod::Extension::Sandbox::Project

Attributes

conf[R]
repos[R]

Public Class Methods

new(conf) click to toggle source
Calls superclass method
# File lib/cocoapods-extension/sandbox/project.rb, line 13
def initialize conf
    @conf = conf
    super conf.project_debug_url
    @repos = Pod::Extension::Sandbox::Repos::new conf::project_debug_url
end

Public Instance Methods

install!() click to toggle source
# File lib/cocoapods-extension/sandbox/project.rb, line 19
def install!
    @conf.sync
    @conf.save!

    unless pod_file.exist?
        cp! [Pod::Extension::Sandbox::workspace::template::pod_file, pod_file]
    end
end
pod_file() click to toggle source
# File lib/cocoapods-extension/sandbox/project.rb, line 32
def pod_file
    root + 'pods'
end
update!() click to toggle source
# File lib/cocoapods-extension/sandbox/project.rb, line 28
def update!
    install!
end