lib/tzinfo/definitions/Libya.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Libya.rb in tzinfo-0.3.0

- old
+ new

@@ -1,10 +1,11 @@ -require 'tzinfo/timezone' -require 'tzinfo/definitions/Africa/Tripoli' +require 'tzinfo/timezone_definition' + module TZInfo -module Definitions #:nodoc: -class Libya < Definitions::Africa::Tripoli #:nodoc: -setup_linked -set_identifier('Libya') -end -end + module Definitions + module Libya + include TimezoneDefinition + + linked_timezone 'Libya', 'Africa/Tripoli' + end + end end