lib/tzinfo/definitions/Europe/Vatican.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Europe/Vatican.rb in tzinfo-0.3.0

- old
+ new

@@ -1,12 +1,13 @@ -require 'tzinfo/timezone' -require 'tzinfo/definitions/Europe/Rome' +require 'tzinfo/timezone_definition' + module TZInfo -module Definitions #:nodoc: -module Europe #:nodoc: -class Vatican < Definitions::Europe::Rome #:nodoc: -setup_linked -set_identifier('Europe/Vatican') -end -end -end + module Definitions + module Europe + module Vatican + include TimezoneDefinition + + linked_timezone 'Europe/Vatican', 'Europe/Rome' + end + end + end end