# File lib/rspec/core/command_line_configuration.rb, line 33 def create_dot_rspec_file puts "Autotest loads RSpec's Autotest subclass when there is a .rspec file in the project's root directory." if File.exist?('./.rspec') puts ".rspec file already exists, so nothing was changed." else FileUtils.touch('./.rspec') puts ".rspec file did not exist, so it was created." end end
# File lib/rspec/core/command_line_configuration.rb, line 51 def discover_file_exists? File.exist?(discover_file_path) end
# File lib/rspec/core/command_line_configuration.rb, line 55 def discover_file_path File.join('autotest', 'discover.rb') end
Generated with the Darkfish Rdoc Generator 2.