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: numericality_of.rb
    path of file: ./repos/mongoid-rspec/lib/matchers/validations
    
    the code of the file until where you have to start completion: module Mongoid
  module Match
    
        def matches?(actual)
          return false unless result = super(actual)

          @options.each do |comparator, expected_value|
            result &= (@validator.options[comparator] == expected_value)
          end

          @positive_result_message <<= options_message(@validator.options)
          @negative_result_message <<= options_message(@validator.options)
          result
        end