Method: Pod::Generator::ModuleMap#generate

Defined in:
lib/cocoapods/generator/module_map.rb

#generateString

Generates the contents of the module.modulemap file.

Returns:

  • (String)


68
69
70
71
72
73
74
75
76
77
# File 'lib/cocoapods/generator/module_map.rb', line 68

def generate
  "\#{module_specifier_prefix}module \#{target.product_module_name}\#{module_declaration_attributes} {\n  \#{headers.join(\"\\n  \")}\n\n  export *\n  module * { export * }\n}\n  MODULE_MAP\nend\n".strip_heredoc