lib/countries/timezones.rb in countries-4.2.0 vs lib/countries/timezones.rb in countries-4.2.1
- old
+ new
@@ -1,7 +1,9 @@
-# Extend Country class with support for timezones
module ISO3166
- # Extend Country class with support for timezones
+ # Extend Country class with support for timezones. Requires the {tzinfo}[https://github.com/tzinfo/tzinfo] gem
+ #
+ # gem 'tzinfo'
+ #
module TimezoneExtensions
def timezones
@tz_country ||= TZInfo::Country.get(alpha2)
end
end