method
matches?
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::RespondTo
matches?(target)public
No documentation available.
# 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