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