Fix rubocop style issues
[rails.git] / lib / country.rb
index ea52efd77ccb59c91326f87a82ad4c12cf16b918..16eec1a36af22352230a93fc0b7701cce54ed51d 100644 (file)
@@ -13,14 +13,12 @@ class Country
     countries[code]
   end
 
-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|