30 Jul
2009
30 Jul
'09
09:10
On Friday 17 July 2009 10:29:32 josef reidinger wrote:
+ + path = rrdfile.chomp(".rrd")
Also, while having the same effect, using this function gives more readability File.basename("foo.txt", ".txt") => "foo"
+ path +="/" + key if key!="value" #do not take care about the value flag + path = path.tr('-','_')
and again path + "/" + something should be File.join(..., ..., ...) Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org