method

with_arity

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::RespondTo
with_arity() 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 47
      def with_arity
        @expected_arity.nil?? "" :
          " with #{@expected_arity} argument#{@expected_arity == 1 ? '' : 's'}"
      end
Register or log in to add new notes.