Class: Pod::Command::Repo::Update
- Inherits:
-
Repo
- Object
- Repo
- Pod::Command::Repo::Update
- Defined in:
- lib/cocoapods/command/repo/update.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Update
constructor
A new instance of Update.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Update
Returns a new instance of Update.
16 17 18 19 |
# File 'lib/cocoapods/command/repo/update.rb', line 16 def initialize(argv) @name = argv.shift_argument super end |
Instance Method Details
#run ⇒ Object
21 22 23 24 25 |
# 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 |