Flowdock
method

matches_arity?

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::RespondTo
matches_arity?(actual, name) private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# 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
Register or log in to add new notes.