method
warn_deprecated

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::ArgumentExpectation
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
warn_deprecated(deprecated_method, instead)
public
Hide source
# 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