Displaying 1 result from an estimated 1 matches for "add_fields_invoice_lines".
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