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: pages_helper.rb
    path of file: ./repos/Spina/app/helpers/spina
    
    the code of the file until where you have to start completion: module Spina
  module PagesHelper
    def content(part_name = nil)
      Current.page.content(part_name)
    end

    def has_content?(pa
    
    def repeater(part)
      part = Current.page.find_part(part)&.content unless part.is_a? Array
      part&.each do |repeater_content|
        repeater_content.view_context = self
        yield(repeater_content)
      end
    end