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: erb.rb
    path of file: ./repos/starscope/lib/starscope/langs
    
    the code of the file until where you have to start completion: module Starscope
  module Lang
    module ERB
      VERSION = 1

      ERB_START = /<%(?:-|={1,4})?/.freeze
      ERB_END = /[-=]?%>/.freeze

      def self.match_file(name)
        name.end_with?('.erb')
      end

      def self.extract(_path, 
    
      def self.extract(_path, contents)
        multiline = false # true when parsing a multiline <% ... %> block

        contents.lines.each_with_index do |line, line_no|
          line_no += 1 # zero-index to one-index

          if multiline
            term = line.index(ERB_END)
            if term
              yield Starscope::DB::FRAGMENT, :Ruby, frag: line[0...term], line_no: line_no
              line = line[term + 1..]
              multiline = false
            else
              yield Starscope::DB::FRAGMENT, :Ruby, frag: line, line_no: line_no
            end
          end