# File lib/ruby_toggle_file.rb, line 12
  def ruby_toggle_file(file)
    if File.basename(file) =~ /(?:^test_|_test\.rb$)/
      implementation_file(file)
    else
      test_file(file)
    end
  end