diff options
Diffstat (limited to 'lib/rexml')
-rw-r--r-- | lib/rexml/functions.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rexml/functions.rb b/lib/rexml/functions.rb index 0f91fcd23f..b0029660fa 100644 --- a/lib/rexml/functions.rb +++ b/lib/rexml/functions.rb @@ -186,9 +186,12 @@ module REXML rv end - # UNTESTED def Functions::concat( *objects ) - objects.join + concatenated = "" + objects.each do |object| + concatenated << string(object) + end + concatenated end # Fixed by Mike Stok |