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
Methods included from Executable
Methods inherited from Pod::Command
options, parse, report_error, run
Methods included from Pod::Config::Mixin
Constructor Details
#initialize(argv) ⇒ Update
Returns a new instance of Update.
56 57 58 59 |
# File 'lib/cocoapods/command/repo.rb', line 56 def initialize(argv) @name = argv.shift_argument super end |
Instance Method Details
#run ⇒ Object
61 62 63 |
# File 'lib/cocoapods/command/repo.rb', line 61 def run SourcesManager.update(@name, true) end |