method

matches?

Importance_0
matches?(actual) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/include.rb, line 10
      def matches?(actual)
        @actual = actual
        @expecteds.each do |expected|
          return false unless actual.include?(expected)
        end
        true
      end
Register or log in to add new notes.