# File lib/rspec/core.rb, line 70 def self.clear_remaining_example_groups world.example_groups.clear end
# File lib/rspec/core.rb, line 62 def self.configuration @configuration ||= RSpec::Core::Configuration.new end
# File lib/rspec/core.rb, line 66 def self.configure yield configuration if block_given? end
# File lib/rspec/core/deprecation.rb, line 4 def deprecate(method, alternate_method=nil, version=nil) version_string = version ? "rspec-#{version}" : "a future version of RSpec" message = *****************************************************************DEPRECATION WARNING: you are using deprecated behaviour that willbe removed from #{version_string}.#{caller(0)[2]}* #{method} is deprecated. if alternate_method message << * please use #{alternate_method} instead. end message << "*****************************************************************" warn_deprecation(message) end
# File lib/rspec/core.rb, line 50 def self.wants_to_quit world.wants_to_quit end
# File lib/rspec/core.rb, line 54 def self.wants_to_quit=(maybe) world.wants_to_quit=(maybe) end
Generated with the Darkfish Rdoc Generator 2.