class Pod::Command::Install

Public Class Methods

options() click to toggle source
Calls superclass method Pod::Command::options
# File lib/cocoapods/command/install.rb, line 30
def self.options
  [
    ['--repo-update', 'Force running `pod repo update` before install'],
  ].concat(super).reject { |(name, _)| name == '--no-repo-update' }
end

Public Instance Methods

run() click to toggle source
# File lib/cocoapods/command/install.rb, line 36
def run
  verify_podfile_exists!
  installer = installer_for_config
  installer.repo_update = repo_update?(:default => false)
  installer.update = false
  installer.install!
end