Class: Pod::Podfile
- Inherits:
-
Object
- Object
- Pod::Podfile
- Defined in:
- lib/pod_builder/podfile_cp.rb,
lib/pod_builder/podfile_cp.rb
Defined Under Namespace
Classes: TargetDefinition
Instance Method Summary collapse
Instance Method Details
#pb_to_s(all_buildable_items) ⇒ Object
77 78 79 80 81 82 83 84 85 86 |
# File 'lib/pod_builder/podfile_cp.rb', line 77 def pb_to_s(all_buildable_items) initial_targets = root_target_definitions.first.children platform = @current_target_definition.platform podfile_s = "platform :#{platform.to_sym}, '#{platform.deployment_target.to_s}'\n\n" podfile_s += initial_targets.map { |t| t.pb_to_s(all_buildable_items) }.join("\n\n") return podfile_s end |