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

- old
+ new

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