>>>>> "J" == Jens Luedicke <jens / irs-net.com> writes:

J> Ruby has some problems with ugly and messy code ;-))

 Just ask ruby to have a better code :

pigeon% cat d.rb
#!/usr/bin/ruby -riis
def toto; c = "\sTif\s3\s", "hsfbu wj",
"suvft\spg\sb\sqsphsbnnfs:\n",
"\sLbzjoftt,\s", "Inqbujfodf,\s",
"aoe\s", "Hvcsjt."; b = "Lbssz Wbmm"
b.tr!("b-z","a-z"); 
for i in c 
i.tr!("b-y","a-z")
end 
print "\n\n", c 
print "\n\n\t\t--\s", b, "\n\n";end
puts dump(Object, :toto)
pigeon% 

pigeon% d.rb
def toto
   c = [
      " Tif 3 ",
      "hsfbu wj",
      "suvft pg b qsphsbnnfs:\n",
      " Lbzjoftt, ",
      "Inqbujfodf, ",
      "aoe ",
      "Hvcsjt."
      ]
   b = "Lbssz Wbmm"
   b.tr!("b-z", "a-z")
   for i in c
      i.tr!("b-y", "a-z")
   end
   print("\n\n", c)
   print("\n\n\t\t-- ", b, "\n\n")
end
pigeon% 


Guy Decoux