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