class Pod::Command::Bin::Repo::Update
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
Pod::Command::Bin::new
# File lib/cocoapods-pahealth-bin/command/bin/repo/update.rb, line 19 def initialize(argv) @name = argv.shift_argument super end
options()
click to toggle source
Calls superclass method
# File lib/cocoapods-pahealth-bin/command/bin/repo/update.rb, line 14 def self.options [ ].concat(super) end
Public Instance Methods
run()
click to toggle source
# File lib/cocoapods-pahealth-bin/command/bin/repo/update.rb, line 24 def run show_output = !config.silent? if @name config.sources_manager.update(@name, show_output) else Parallel.each(valid_sources, in_threads: 4) do |source| source.update(show_output) end end end