class Pod::Podfile

Public Instance Methods

inhibit_warnings_with_condition(&condition) click to toggle source
# File lib/cocoapods-developing-folder/folder.rb, line 18
def inhibit_warnings_with_condition(&condition) 
    require_relative 'inhibit_warnings_with_condition'
    Pod.set_inhibit_waning_condition_block  proc(&condition)
end
local_pod_searching_root(path) click to toggle source
# File lib/cocoapods-developing-folder/local_pod_DSL.rb, line 10
def local_pod_searching_root(path)
    if path.kind_of? Array
        Pod.local_pod_DSL_root_paths = path
    elsif path.kind_of? String
        Pod.local_pod_DSL_root_paths = [path]
    else
        raise "[Error] wrong type for `local_pod_searching_root`"
    end
end
use_folders(*skipped_top_level_folder_names) click to toggle source
# File lib/cocoapods-developing-folder/folder.rb, line 7
def use_folders(*skipped_top_level_folder_names)
    require_relative 'preserve_folder'
    names_to_skip = []
    first = skipped_top_level_folder_names.first
    if first.is_a? Hash
        names_to_skip = first[:skip_top_level_group]
    end
    Pod.set_skipped_top_level_folder_names (names_to_skip or [])    
end