You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: processable.rb
    path of file: ./repos/bridgetown/bridgetown-core/lib/bridgetown-core/concerns/site
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

cl
    
    def refresh_layouts_and_data
      reader.read_layouts

      collections.data.tap do |coll|
        coll.resources.clear
        coll.read
        coll.merge_data_resources.each do |k, v|
          data[k] = v # refresh site data
        end
      end
    end