Methods

Class Index [+]

Quicksearch

RSpec::Rake

@private

Public Class Methods

const_missing(name) click to toggle source

Used to print deprecation warnings for Rake::SpecTask constant (use RSpec::Core::RakeTask instead)

    # File lib/rspec/core/backward_compatibility.rb, line 46
46:     def self.const_missing(name)
47:       case name
48:       when :SpecTask
49:         RSpec.deprecate("Spec::Rake::SpecTask", "RSpec::Core::RakeTask")
50:         require 'rspec/core/rake_task'
51:         RSpec::Core::RakeTask
52:       else
53:         begin
54:           super
55:         rescue Exception => e
56:           e.backtrace.reject! {|l| l =~ Regexp.compile(__FILE__) }
57:           raise e
58:         end
59:       end
60:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.