lib/xcres/analyzer/resources_analyzer/bundle_resources_analyzer.rb
def build_sections_for_bundles
        bundle_file_refs = find_bundle_file_refs

        log "Found #%s resource bundles in project.", bundle_file_refs.count

        bundle_file_refs.map do |file_ref|
          section = build_section_for_bundle(file_ref)
          log 'Add section for %s with %s elements', section.name, section.items.count unless section.nil?
          section
        end.compact
      end
# Build a section for each bundle if it contains any resources
#
# @return [Array<Section>]
#         the built sections
#
Build a section for each bundle if it contains any resources
Build a section for each bundle if it contains any resources
def build_sections_for_bundles
        bundle_file_refs = find_bundle_file_refs
        log "Found #%s resource bundles in project.", bundle_file_refs.count
        bundle_file_refs.map do |file_ref|
          section = build_section_for_bundle(file_ref)
          log 'Add section for %s with %s elements', section.name, section.items.count unless section.nil?
          section
        end.compact
      end
def build_sections_for_bundles bundle_file_refs = find_bundle_file_refs log "Found #%s resource bundles in project." , bundle_file_refs . count bundle_file_refs . map do | file_ref | section = build_section_for_bundle ( file_ref ) log 'Add section for %s with %s elements' , section . name , section . items . count unless section . nil? section end . compact end
Build a section for each bundle if it contains any resources
Build a section for each bundle if it contains any resources
the built sections
the built sections
Array<Section>