Module: Pod::Podfile::DSL
- Defined in:
- lib/cocoapods-pahealth-bin/native/podfile.rb
Overview
TREAT_DEVELOPMENTS_AS_NORMAL = ‘treat_developments_as_normal’.freeze
Instance Method Summary collapse
- #allow_prerelease! ⇒ Object
- #set_use_source_pods(pods) ⇒ Object
- #use_binaries!(flag = true) ⇒ Object
- #use_binaries_with_spec_selector!(&block) ⇒ Object
Instance Method Details
#allow_prerelease! ⇒ Object
9 10 11 |
# File 'lib/cocoapods-pahealth-bin/native/podfile.rb', line 9 def allow_prerelease! set_internal_hash_value(ALLOW_PRERELEASE, true) end |
#set_use_source_pods(pods) ⇒ Object
23 24 25 26 27 |
# File 'lib/cocoapods-pahealth-bin/native/podfile.rb', line 23 def set_use_source_pods(pods) hash_pods_use_source = get_internal_hash_value(USE_SOURCE_PODS) || [] hash_pods_use_source += Array(pods) set_internal_hash_value(USE_SOURCE_PODS, hash_pods_use_source) end |
#use_binaries!(flag = true) ⇒ Object
13 14 15 |
# File 'lib/cocoapods-pahealth-bin/native/podfile.rb', line 13 def use_binaries!(flag = true) set_internal_hash_value(USE_BINARIES, flag) end |
#use_binaries_with_spec_selector!(&block) ⇒ Object
17 18 19 20 21 |
# File 'lib/cocoapods-pahealth-bin/native/podfile.rb', line 17 def use_binaries_with_spec_selector!(&block) raise Informative, '必须提供选择需要二进制组件的 block !' unless block_given? set_internal_hash_value(USE_BINARIES_SELECTOR, block) end |