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