Class: Pod::Command::Repo::Update

Inherits:
Pod::Command::Repo show all
Defined in:
lib/cocoapods/command/repo.rb

Overview

———————————————————————–#

Instance Method Summary collapse

Methods inherited from Pod::Command::Repo

#dir

Methods included from Executable

#executable, execute_command

Methods inherited from Pod::Command

options, parse, report_error, run

Methods included from Pod::Config::Mixin

#config

Constructor Details

#initialize(argv) ⇒ Update

Returns a new instance of Update.



56
57
58
59
# File 'lib/cocoapods/command/repo.rb', line 56

def initialize(argv)
  @name = argv.shift_argument
  super
end

Instance Method Details

#runObject



61
62
63
# File 'lib/cocoapods/command/repo.rb', line 61

def run
  SourcesManager.update(@name, true)
end