Sha256: 9f90d2b8f14f12c19493f53e748c8b6f84808c4e97c9f264aa4df52f096fc32a
Contents?: true
Size: 645 Bytes
Versions: 20
Compression:
Stored size: 645 Bytes
Contents
module RSpec module Core module ConstMissing def const_missing(name) case name when :Rspec, :Spec RSpec.warn_deprecation <<-WARNING ***************************************************************** DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec. * #{name} is deprecated. * RSpec is the new top-level module in RSpec-2 #{caller(0)[1]} ***************************************************************** WARNING RSpec else super(name) end end end end end Object.extend(RSpec::Core::ConstMissing)
Version data entries
20 entries across 20 versions & 2 rubygems