lib/tzinfo/definitions/US/Indiana__m__Starke.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/US/Indiana__m__Starke.rb in tzinfo-0.3.0
- old
+ new
@@ -1,12 +1,13 @@
-require 'tzinfo/timezone'
-require 'tzinfo/definitions/America/Indiana/Knox'
+require 'tzinfo/timezone_definition'
+
module TZInfo
-module Definitions #:nodoc:
-module US #:nodoc:
-class Indiana__m__Starke < Definitions::America::Indiana::Knox #:nodoc:
-setup_linked
-set_identifier('US/Indiana-Starke')
-end
-end
-end
+ module Definitions
+ module US
+ module Indiana__m__Starke
+ include TimezoneDefinition
+
+ linked_timezone 'US/Indiana-Starke', 'America/Indiana/Knox'
+ end
+ end
+ end
end