module RSpec::Core::ConstMissing

def const_missing(name)

def const_missing(name)
  case name
  when :Rspec, :Spec
    RSpec.warn_deprecation <<-WARNING
***********************************************************
ATION WARNING: you are using a deprecated constant that will
oved from a future version of RSpec.
er(0)[2]}
me} is deprecated.
c is the new top-level module in RSpec-2
***********************************************************
G
    RSpec
  else
    begin
      super
    rescue Exception => e
      e.backtrace.reject! {|l| l =~ Regexp.compile(__FILE__) }
      raise e
    end
  end
end