class Pod::Command::X::Env::Install

Public Class Methods

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

Public Instance Methods

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