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

- old
+ new

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