method
with_arity
1.3.0 -
Show latest stable
- Class:
Spec::Matchers::RespondTo
with_arity()private
No documentation available.
# File lib/spec/matchers/respond_to.rb, line 47
def with_arity
@expected_arity.nil?? "" :
" with #{@expected_arity} argument#{@expected_arity == 1 ? '' : 's'}"
end