lib/barometer/query/formats/base.rb in barometer-0.9.1 vs lib/barometer/query/formats/base.rb in barometer-0.9.2

- old
+ new

@@ -8,10 +8,10 @@ # format, how to convert to and from that format # and what the country_code is for that format (if possible). # class Base def self.regex; raise NotImplementedError; end - def self.country_code(query); nil; end + def self.geo(query); nil; end def self.convert_query(query); query; end def self.is?(query) !(query =~ self.regex).nil? end