Class: CocoapodsPodfileLocal::PodfileLocalLoader
- Inherits:
-
Object
- Object
- CocoapodsPodfileLocal::PodfileLocalLoader
- Defined in:
- lib/cocoapods_podfile_local/hook.rb
Overview
仅用于执行 Podfile.local 的轻量对象:提供 ‘edit`,内部转给 OverrideManager。不能用主 Podfile 实例去 eval,因为插件加载时主 Podfile 尚未开始解析。
Instance Method Summary collapse
Instance Method Details
#edit(pod_name, options = {}) ⇒ Object
8 9 10 |
# File 'lib/cocoapods_podfile_local/hook.rb', line 8 def edit(pod_name, = {}) OverrideManager.instance.register(pod_name, ) end |