Class: Pod::Command::X::Env::Install
- Inherits:
-
Pod::Command::X::Env
- Object
- Pod::Command
- Pod::Command::X
- Pod::Command::X::Env
- Pod::Command::X::Env::Install
- Defined in:
- lib/cocoapods-x/command/environment/install.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Install
constructor
A new instance of Install.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Install
Returns a new instance of Install.
12 13 14 |
# File 'lib/cocoapods-x/command/environment/install.rb', line 12 def initialize(argv) super end |
Instance Method Details
#run ⇒ Object
16 17 18 19 20 21 22 23 24 |
# 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 |