lib/tzinfo/definitions/Israel.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Israel.rb in tzinfo-0.3.0
- old
+ new
@@ -1,10 +1,11 @@
-require 'tzinfo/timezone'
-require 'tzinfo/definitions/Asia/Jerusalem'
+require 'tzinfo/timezone_definition'
+
module TZInfo
-module Definitions #:nodoc:
-class Israel < Definitions::Asia::Jerusalem #:nodoc:
-setup_linked
-set_identifier('Israel')
-end
-end
+ module Definitions
+ module Israel
+ include TimezoneDefinition
+
+ linked_timezone 'Israel', 'Asia/Jerusalem'
+ end
+ end
end