@private
Used to print deprecation warnings for Rake::SpecTask constant (use RSpec::Core::RakeTask instead)
# File lib/rspec/core/backward_compatibility.rb, line 46 def self.const_missing(name) case name when :SpecTask RSpec.deprecate("Spec::Rake::SpecTask", "RSpec::Core::RakeTask") require 'rspec/core/rake_task' RSpec::Core::RakeTask else begin super rescue Exception => e e.backtrace.reject! {|l| l =~ Regexp.compile(__FILE__) } raise e end end end
Generated with the Darkfish Rdoc Generator 2.