Class: Pod::Command::Dev::Update

Inherits:
Pod::Command::Dev show all
Defined in:
lib/cocoapods-extension/command/development/update.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Update

Returns a new instance of Update.



11
12
13
# File 'lib/cocoapods-extension/command/development/update.rb', line 11

def initialize(argv)
    super
end

Instance Method Details

#runObject



15
16
17
18
19
20
21
22
23
24
25
# File 'lib/cocoapods-extension/command/development/update.rb', line 15

def run

    begin
        UI.puts "Updating development environment."
        Pod::Extension::Sandbox::update!
        UI.puts "Development environment updated complete!".green
    rescue => exception
        puts "[!] #{exception}".red
    end

end