module Pod::Podfile::DSL

TREAT_DEVELOPMENTS_AS_NORMAL = 'treat_developments_as_normal'.freeze

Public Instance Methods

allow_prerelease!() click to toggle source
# File lib/cocoapods-miBin/native/podfile.rb, line 11
def allow_prerelease!
  set_internal_hash_value(ALLOW_PRERELEASE, true)
end
set_use_source_pods(pods) click to toggle source
# File lib/cocoapods-miBin/native/podfile.rb, line 25
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) click to toggle source
# File lib/cocoapods-miBin/native/podfile.rb, line 15
def use_binaries!(flag = true)
  set_internal_hash_value(USE_BINARIES, flag)
end
use_binaries_with_spec_selector!(&block) click to toggle source
# File lib/cocoapods-miBin/native/podfile.rb, line 19
def use_binaries_with_spec_selector!(&block)
  raise Informative, '必须提供选择需要二进制组件的 block !' unless block_given?

  set_internal_hash_value(USE_BINARIES_SELECTOR, block)
end