Class: Pod::Podfile
- Inherits:
-
Object
- Object
- Pod::Podfile
- Defined in:
- lib/cocoapods-developing-folder/folder.rb,
lib/cocoapods-developing-folder/folder_DSL.rb,
lib/cocoapods-developing-folder/local_pod_DSL.rb
Defined Under Namespace
Modules: DSL
Instance Method Summary collapse
- #inhibit_warnings_with_condition(&condition) ⇒ Object
- #use_folders(*skipped_top_level_folder_names) ⇒ Object
Instance Method Details
#inhibit_warnings_with_condition(&condition) ⇒ Object
18 19 20 21 |
# 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 |
#use_folders(*skipped_top_level_folder_names) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# 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 |