lib/tzinfo/definitions/America/Indianapolis.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/America/Indianapolis.rb in tzinfo-0.3.0

- old
+ new

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