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