Class: Pod::Command::Repo::Update
- Inherits:
-
Pod::Command::Repo
- Object
- CLAide::Command
- Pod::Command
- Pod::Command::Repo
- Pod::Command::Repo::Update
- Defined in:
- lib/cocoapods/command/repo.rb
Overview
———————————————————————–#
Instance Method Summary collapse
-
#initialize(argv) ⇒ Update
constructor
A new instance of Update.
- #run ⇒ Object
Methods inherited from Pod::Command::Repo
#branch_name, #branch_remote_name, #dir, #url_of_git_repo
Methods included from Executable
Methods inherited from Pod::Command
options, parse, report_error, run, verify_git_version!
Methods included from Pod::Config::Mixin
Constructor Details
#initialize(argv) ⇒ Update
Returns a new instance of Update.
76 77 78 79 |
# File 'lib/cocoapods/command/repo.rb', line 76 def initialize(argv) @name = argv.shift_argument super end |
Instance Method Details
#run ⇒ Object
81 82 83 |
# File 'lib/cocoapods/command/repo.rb', line 81 def run SourcesManager.update(@name, true) end |