method

warn_deprecated

warn_deprecated(deprecated_method, instead)
public

No documentation available.

# File lib/spec/mocks/argument_expectation.rb, line 166
      def warn_deprecated(deprecated_method, instead)
        Kernel.warn "The #{deprecated_method} constraint is deprecated. Use #{instead} instead."
      end