Class: Pod::Installer::InstallationOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-imy-bin/native/installation_options.rb

Class Method Summary collapse

Class Method Details

.env_option(key, default = true) ⇒ Object



7
8
9
# File 'lib/cocoapods-imy-bin/native/installation_options.rb', line 7

def self.env_option(key, default = true)
  option key, ENV[key.to_s].nil? ? default : ENV[key.to_s] == 'true'
end