Module: SubPod::Delegate

Defined in:
lib/subpod.rb

Class Method Summary collapse

Class Method Details

.install(update_mode = false) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/subpod.rb', line 10

def install(update_mode = false)
  cfg = Pod::Config.instance
  cfg.podfile or fail Pod::Informative, "No `Podfile' found in the current working directory."
  installer = Installer.new(cfg.sandbox, cfg.podfile, cfg.lockfile)
  installer.update_mode = update_mode
  installer.install!
end