Class: Pod::Command::RepoTal::Update

Inherits:
Pod::Command::RepoTal show all
Defined in:
lib/cocoapods-repo-tal/command/repo/update.rb

Instance Method Summary collapse

Methods inherited from Pod::Command::RepoTal

#dir

Constructor Details

#initialize(argv) ⇒ Update

Returns a new instance of Update.



16
17
18
19
# File 'lib/cocoapods-repo-tal/command/repo/update.rb', line 16

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

Instance Method Details

#runObject



21
22
23
24
# File 'lib/cocoapods-repo-tal/command/repo/update.rb', line 21

def run
  show_output = !config.silent?
  config.sources_manager.update(@name, show_output)
end