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: have_singleton_method.rb
    path of file: ./repos/artichoke/spec-runner/vendor/mspec/lib/mspec/matchers
    
    the code of the file until where you have to start completion: require 'mspec/matchers/method'

class HaveSingletonMethodMatcher < MethodMatcher
  def matches?(obj)
    @obj = o
    
  def failure_message
    ["Expected #{@obj} to have singleton method '#{@method.to_s}'",
     "but it does not"]
  end

  def negative_failure_message
    ["Expected #{@obj} NOT to have singleton method '#{@method.to_s}'",
     "but it does"]
  end
end

module MSpecMatchers
  private def have_singleton_method(method, include_super = true)
    HaveSingletonMethodMatcher.new method, include_super
  end