You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: country.rb
    path of file: ./repos/openstreetmap-website/lib
    
    the code of the file until where you have to start completion: class Country
  attr_reader :code, :min_lat, 
    
  def self.load_countries
    countries = {}
    xml = REXML::Document.new(Rails.root.join("config/countries.xml").read)

    xml.elements.each("geonames/country") do |ele|
      code = ele.get_text("countryCode").to_s
      minlon = ele.get_text("west").to_s
      minlat = ele.get_text("south").to_s
      maxlon = ele.get_text("east").to_s
      maxlat = ele.get_text("north").to_s

      countries[code] = Country.new(code, minlat.to_f, maxlat.to_f, minlon.to_f, maxlon.to_f)
    end

    countries
  end