Method: Mocha.const_missing
- Defined in:
- lib/mocha/api.rb
.const_missing(name) ⇒ Object
166 167 168 169 170 171 |
# File 'lib/mocha/api.rb', line 166 def self.const_missing(name) return super unless name == :Standalone require 'mocha/deprecation' Deprecation.warning "Mocha::Standalone has been renamed to Mocha::API" return API end |