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