class Pod::Extension::Sandbox
Constants
- PODFILE_NAMES
Public Class Methods
find_podfile(dir)
click to toggle source
# File lib/cocoapods-extension/sandbox.rb, line 32 def self.find_podfile dir PODFILE_NAMES.each do |filename| candidate = dir + filename if candidate.file? return candidate end end nil end
install!()
click to toggle source
# File lib/cocoapods-extension/sandbox.rb, line 18 def self.install! Pod::Extension::Sandbox::workspace::install! end
podfile_exists!(dir)
click to toggle source
# File lib/cocoapods-extension/sandbox.rb, line 26 def self.podfile_exists! dir if Pod::Extension::Sandbox::find_podfile(dir).nil? raise Informative, "No `Podfile' found in the project directory." end end
update!()
click to toggle source
# File lib/cocoapods-extension/sandbox.rb, line 22 def self.update! Pod::Extension::Sandbox::workspace::update! end
workspace()
click to toggle source
# File lib/cocoapods-extension/sandbox.rb, line 13 def self.workspace @@workspace ||= Pod::Extension::Sandbox::Workspace::new @@workspace end