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: eager_load.rb
    path of file: ./repos/thredded/spec/support/matchers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class EagerLoad
  def initialize(association)
    @association = association
  end

  def matches?(target)
    @target = target
    @target.default_scopes.select do |scope|
      scope[:include] == @association
    e
    
  def matches?(target)
    @target = target
    @target.default_scopes.select do |scope|
      scope[:include] == @association
    end.present?
  end

  def failure_message
    "expected #{@target.class.name} to eager load #{@association}"
  end

  def failure_message_when_negated
    "expected #{@target.class.name} to not eager load #{@association}"
  end
end