Class: BB::StableSpecs
- Inherits:
-
Object
- Object
- BB::StableSpecs
- Defined in:
- lib/cocoapods-bb-PodAssistant/config/stable_specs.rb
Instance Method Summary collapse
- #readData(yml_path) ⇒ Object
-
#update_stable_lock(yml_path, pod_targets) ⇒ Object
podfile 更新配置文件使用.
- #writeData(yml_path, data) ⇒ Object
Instance Method Details
#readData(yml_path) ⇒ Object
9 10 11 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 9 def readData(yml_path) return YamlFilesHelper.read_stable_lock_yaml(yml_path) end |
#update_stable_lock(yml_path, pod_targets) ⇒ Object
podfile 更新配置文件使用
16 17 18 19 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 16 def update_stable_lock(yml_path, pod_targets) puts "更新ymal配置文件:#{yml_path}成功". send(:yellow) YamlFilesHelper.save_stable_podlock(yml_path, pod_targets) end |
#writeData(yml_path, data) ⇒ Object
12 13 14 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 12 def writeData(yml_path, data) YamlFilesHelper.save_stable_lock_yaml(yml_path, data) end |