lib/tzinfo/definitions/Etc/UTC.rb in tzinfo-0.0.1 vs lib/tzinfo/definitions/Etc/UTC.rb in tzinfo-0.0.2
- old
+ new
@@ -1,18 +1,12 @@
require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Etc #:nodoc:
class UTC < Timezone #:nodoc:
-def initialize
- super
+setup
set_identifier('Etc/UTC')
-add_period(TimezonePeriod.new(nil,nil,0,0,'UTC'))
-end
-@@instance = new
-def self.instance
- @@instance
-end
+add_period(TimezonePeriod.new(nil,nil,0,0,:'UTC'))
end
end
end
end