class Pod::Command::Repo::Update
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
Pod::Command::new
# File lib/cocoapods/command/repo/update.rb, line 16 def initialize(argv) @name = argv.shift_argument super end
Public Instance Methods
run()
click to toggle source
# File lib/cocoapods/command/repo/update.rb, line 21 def run show_output = !config.silent? config.sources_manager.update(@name, show_output) exclude_repos_dir_from_backup end
Private Instance Methods
exclude_repos_dir_from_backup()
click to toggle source
Excludes the repos directory from backups.
@return [void]
# File lib/cocoapods/command/repo/update.rb, line 33 def exclude_repos_dir_from_backup config.exclude_from_backup(config.repos_dir) end