class Rspec::Core::ConfigurationOptions
def local_options_file
def local_options_file return @options.delete(:options_file) if @options[:options_file] return LOCAL_OPTIONS_FILE if File.exist?(LOCAL_OPTIONS_FILE) Rspec.deprecate("spec/spec.opts", ".rspec or ~/.rspec", "2.0.0") if File.exist?("spec/spec.opts") "spec/spec.opts" end