lib/tzinfo/countries/PG.rb in tzinfo-0.0.1 vs lib/tzinfo/countries/PG.rb in tzinfo-0.0.2
- old
+ new
@@ -1,18 +1,12 @@
require 'tzinfo/country'
module TZInfo #:nodoc:
module Countries #:nodoc:
class PG < Country #:nodoc:
-def initialize
- super
- set_code('PG')
- set_name('Papua New Guinea')
- add_zone('Pacific/Port_Moresby')
- zones_added
-end
-@@instance = new
-def self.instance
- @@instance
-end
+setup
+set_code('PG')
+set_name('Papua New Guinea')
+add_zone('Pacific/Port_Moresby')
+zones_added
end
end
end