Fix most auto-correctable rubocop issues
[rails.git] / lib / country.rb
index ea52efd..41e36cc 100644 (file)
@@ -13,14 +13,14 @@ class Country
     countries[code]
   end
 
-private
+  private
 
   def self.countries
     @@countries ||= load_countries
   end
 
   def self.load_countries
-    countries = Hash.new
+    countries = {}
     xml = REXML::Document.new(File.read("config/countries.xml"))
 
     xml.elements.each("geonames/country") do |ele|