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: filename_specification.rb
    path of file: ./repos/real-world-rails/lib/real_world_rails
    
    the code of the file until where you have to start completion: module RealWorldRails
  class FilenameSpecification
    attr_accessor :includes, :excludes

    MODEL_FILENAMES_REGEX = %r{\A.+/models/.+\.rb\z}
    VIEW_FILENA
    
    def self.build(*specifications, except:[])
      if [:views] == specifications
        # The views regex is precise and does not benefit from the excludes.
        filename_specification = self.new(only: VIEW_FILENAMES_REGEX)
      else
        filename_specification = self.new(*specifications, except: except)
      end
      filename_specification
    end