lib/tzinfo/definitions/Asia/Dubai.rb in tzinfo-0.0.1 vs lib/tzinfo/definitions/Asia/Dubai.rb in tzinfo-0.0.2
- old
+ new
@@ -1,19 +1,13 @@
require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Dubai < Timezone #:nodoc:
-def initialize
- super
+setup
set_identifier('Asia/Dubai')
-add_period(TimezonePeriod.new(nil,DateTime.new(1919,12,31,20,18,48),13272,0,'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1919,12,31,20,18,48),nil,14400,0,'GST'))
-end
-@@instance = new
-def self.instance
- @@instance
-end
+add_period(TimezonePeriod.new(nil,DateTime.new(1919,12,31,20,18,48),13272,0,:'LMT'))
+add_period(TimezonePeriod.new(DateTime.new(1919,12,31,20,18,48),nil,14400,0,:'GST'))
end
end
end
end