lib/tzinfo/definitions/Jamaica.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Jamaica.rb in tzinfo-0.3.0

- old
+ new

@@ -1,10 +1,11 @@ -require 'tzinfo/timezone' -require 'tzinfo/definitions/America/Jamaica' +require 'tzinfo/timezone_definition' + module TZInfo -module Definitions #:nodoc: -class Jamaica < Definitions::America::Jamaica #:nodoc: -setup_linked -set_identifier('Jamaica') -end -end + module Definitions + module Jamaica + include TimezoneDefinition + + linked_timezone 'Jamaica', 'America/Jamaica' + end + end end