class Pod::Podfile

Constants

COCOAPODS_SOURCES_OPTIONS

Public Instance Methods

get_options() click to toggle source
# File lib/cocoapods-sources/native/podfile.rb, line 13
def get_options
    get_internal_hash_value(COCOAPODS_SOURCES_OPTIONS, {})
end
set_options(options) click to toggle source
# File lib/cocoapods-sources/native/podfile.rb, line 9
def set_options(options)
    set_internal_hash_value(COCOAPODS_SOURCES_OPTIONS,options)
end

Private Instance Methods

get_internal_hash_value(key, default = nil) click to toggle source
# File lib/cocoapods-sources/native/podfile.rb, line 24
def get_internal_hash_value(key, default = nil)
    internal_hash.fetch(key, default)
end
set_internal_hash_value(key, value) click to toggle source

set_hash_value 有 key 限制

# File lib/cocoapods-sources/native/podfile.rb, line 20
def set_internal_hash_value(key, value)
    internal_hash[key] = value
end