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