Class: Pod::Config
- Inherits:
-
Object
- Object
- Pod::Config
- Defined in:
- lib/cocoapods-cache-proxy/native/config.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #cache_proxy_source_available ⇒ TrueClass, FalseClass
- #set_cache_proxy_source(name) ⇒ Pod::CacheProxySource
Instance Attribute Details
#cache_proxy_source ⇒ Pod::CacheProxySource (readonly)
17 18 19 |
# File 'lib/cocoapods-cache-proxy/native/config.rb', line 17 def cache_proxy_source @cache_proxy_source end |
Instance Method Details
#cache_proxy_source_available ⇒ TrueClass, FalseClass
22 23 24 |
# File 'lib/cocoapods-cache-proxy/native/config.rb', line 22 def cache_proxy_source_available !@cache_proxy_source.nil? end |
#set_cache_proxy_source(name) ⇒ Pod::CacheProxySource
10 11 12 13 14 |
# File 'lib/cocoapods-cache-proxy/native/config.rb', line 10 def set_cache_proxy_source(name) return if name.blank? return unless (cnf = CPSH.get_cache_proxy_source_conf(name)) @cache_proxy_source = cnf end |