Class: BB::DataConfig
- Inherits:
-
Object
- Object
- BB::DataConfig
- Defined in:
- lib/cocoapods-bb-PodAssistant/config/data_config.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#ignore_dependencies_pod_names ⇒ Object
需要过滤忽略组件.
-
#set_ignore_dependencies_pod_names(pods = []) ⇒ Object
配置过滤忽略组件.
Class Method Details
.config ⇒ Object
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_names ⇒ Object
需要过滤忽略组件
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 |