Displaying 1 result from an estimated 1 matches for "invoice_line_name".
2010 Feb 19
8
Weird gsub behaviour
ruby 1.8.6 (2007-09-24 patchlevel 111)
str = ''\&123''
puts "abc".gsub("b", str)
puts "abc".gsub("b", "#{str}")
puts "abc".gsub("b", str.to_s)
puts "abc".gsub("b", ''\&123'')
puts "abc".gsub("b", "\&123")
>ruby test.rb
ab123c