class Pod::Command::X::Env::Update

Public Class Methods

new(argv) click to toggle source
Calls superclass method
# File lib/cocoapods-x/command/environment/update.rb, line 12
def initialize(argv)
    super
end

Public Instance Methods

run() click to toggle source
# File lib/cocoapods-x/command/environment/update.rb, line 16
def run
    begin
        UI.puts 'Pod::X '.magenta + "Updating X environment."
        Pod::X::Environment::update!
        UI.puts 'Pod::X '.magenta + "Env installation complete!".green
    rescue => exception
        UI.puts '[!] Pod::X '.magenta + "#{exception}".red
    end
end