Class: BB::DataConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-bb-PodAssistant/config/data_config.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configObject



3
4
5
# File 'lib/cocoapods-bb-PodAssistant/config/data_config.rb', line 3

def self.config
    @config ||= DataConfig.new
end

Instance Method Details

#ignore_dependencies_pod_namesObject

需要过滤忽略组件



8
9
10
11
# File 'lib/cocoapods-bb-PodAssistant/config/data_config.rb', line 8

def ignore_dependencies_pod_names
    puts "<===获取业务方配置过滤组件数据:#{@ignore_pods_list}".yellow
    return @ignore_pods_list
end

#set_ignore_dependencies_pod_names(pods = []) ⇒ Object

配置过滤忽略组件



14
15
16
17
# File 'lib/cocoapods-bb-PodAssistant/config/data_config.rb', line 14

def set_ignore_dependencies_pod_names(pods=[])
    puts "==>业务方配置需要过滤组件数据:#{pods} cls:#{pods.class}".yellow
    @ignore_pods_list=pods
end