lib/tzinfo/countries/GL.rb in tzinfo-0.0.1 vs lib/tzinfo/countries/GL.rb in tzinfo-0.0.2
- old
+ new
@@ -1,21 +1,15 @@
require 'tzinfo/country'
module TZInfo #:nodoc:
module Countries #:nodoc:
class GL < Country #:nodoc:
-def initialize
- super
- set_code('GL')
- set_name('Greenland')
- add_zone('America/Danmarkshavn')
- add_zone('America/Thule')
- add_zone('America/Godthab')
- add_zone('America/Scoresbysund')
- zones_added
-end
-@@instance = new
-def self.instance
- @@instance
-end
+setup
+set_code('GL')
+set_name('Greenland')
+add_zone('America/Danmarkshavn')
+add_zone('America/Thule')
+add_zone('America/Godthab')
+add_zone('America/Scoresbysund')
+zones_added
end
end
end