method
matches?

matches?(target)
public
Hide source
# File lib/spec/matchers/respond_to.rb, line 10 def matches?(target) @names.each do |name| unless target.respond_to?(name) @names_not_responded_to << name end end return @names_not_responded_to.empty? end