FIX la méthode trim n'existe pas pour les strings... il faut utiliser strip
[pompage.git] / src / objet.rb
1
2 class Objet
3 @@compteur = 0
4 def initialize
5 @id = @@compteur + 1
6 @@compteur += 1
7 end
8
9 def getXml
10 #abstrait
11 end
12 end