module Mocha::ParameterMatchers::Deprecations
Public Instance Methods
const_missing(name)
click to toggle source
@private
Calls superclass method
# File lib/mocha/parameter_matchers/deprecations.rb, line 8 def const_missing(name) if ParameterMatchers.access_deprecated?(name) mod = ParameterMatchers.const_get(name) Deprecation.warning( "Referencing #{name} outside its namespace is deprecated. Use fully-qualified #{mod} instead." ) mod else super(name) end end