method
matches?

matches?(actual)
public
Hide source
# File lib/spec/matchers/match_array.rb, line 10 def matches?(actual) @actual = actual @extra_items = difference_between_arrays(@actual, @expected) @missing_items = difference_between_arrays(@expected, @actual) @extra_items.empty? && @missing_items.empty? end