method

matches_arity?

matches_arity?(actual, name)
private

No documentation available.

# File lib/spec/matchers/respond_to.rb, line 43
      def matches_arity?(actual, name)
        @expected_arity.nil?? true : @expected_arity == actual.method(name).arity 
      end