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