class Pod::Podfile
Constants
- GD_USE_BINARIES
- USE_SOURCE_CODE_SELECTOR
Public Instance Methods
get_use_binaries()
click to toggle source
# File lib/cocoapods-gd/podfile_env.rb, line 12 def get_use_binaries internal_hash[GD_USE_BINARIES] end
get_use_source_code_selector()
click to toggle source
# File lib/cocoapods-gd/podfile_env.rb, line 21 def get_use_source_code_selector internal_hash[USE_SOURCE_CODE_SELECTOR] end
use_binaries!(flag = true)
click to toggle source
# File lib/cocoapods-gd/podfile_env.rb, line 8 def use_binaries!(flag = true) internal_hash[GD_USE_BINARIES] = flag end
use_source_code_selector!(&block)
click to toggle source
# File lib/cocoapods-gd/podfile_env.rb, line 16 def use_source_code_selector!(&block) raise Informative, '必须提供选择需要二进制组件的 block !' unless block_given? internal_hash[USE_SOURCE_CODE_SELECTOR] = block end