# File lib/rspec/core.rb, line 80 def self.configuration if block_given? RSpec.warn_deprecation "\n*****************************************************************\nDEPRECATION WARNING\n\n* RSpec.configuration with a block is deprecated and has no effect.\n* please use RSpec.configure with a block instead.\n\nCalled from \#{caller(0)[1]}\n*****************************************************************\n\n" end @configuration ||= RSpec::Core::Configuration.new end