Dressed up a few more messages.
[rails.git] / lib / country.rb
index 41e36ccecfcbf8b9322fcf71298bef05ba801523..3af7e0a211cb70e358c9ade41eeead922d009838 100644 (file)
@@ -9,14 +9,12 @@ class Country
     @max_lon = max_lon
   end
 
-  def self.find_by_code(code)
+  def self.find(code)
     countries[code]
   end
 
-  private
-
   def self.countries
-    @@countries ||= load_countries
+    @countries ||= load_countries
   end
 
   def self.load_countries