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