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