method
matches?
matches?(actual)
public
Hide source
# File lib/spec/matchers/respond_to.rb, line 11 def matches?(actual) @actual = actual @names.each do |name| @names_not_responded_to << name unless actual.respond_to?(name) && matches_arity?(actual, name) end return @names_not_responded_to.empty? end