lib/tzinfo/definitions/GMT0.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/GMT0.rb in tzinfo-0.3.0
- old
+ new
@@ -1,10 +1,11 @@
-require 'tzinfo/timezone'
-require 'tzinfo/definitions/Etc/GMT'
+require 'tzinfo/timezone_definition'
+
module TZInfo
-module Definitions #:nodoc:
-class GMT0 < Definitions::Etc::GMT #:nodoc:
-setup_linked
-set_identifier('GMT0')
-end
-end
+ module Definitions
+ module GMT0
+ include TimezoneDefinition
+
+ linked_timezone 'GMT0', 'Etc/GMT'
+ end
+ end
end