lib/barometer/formats/icao.rb in barometer-0.5.0 vs lib/barometer/formats/icao.rb in barometer-0.6.1

- old
+ new

@@ -20,11 +20,11 @@ # that take :icao (which is just one, :wunderground) also take what # this would have been if it was not called :icao. # def self.regex; /^[A-Za-z]{3,4}$/; end - # # in some cases the first letter can designate the country - # # + # in some cases the first letter can designate the country + # def self.country_code(query=nil) return unless query && query.is_a?(String) $:.unshift(File.dirname(__FILE__)) @@codes ||= YAML.load_file(@@codes_file) return unless @@codes && @@codes['one_letter'] && @@codes['two_letter'] \ No newline at end of file