From 44d72332014b5feac64efd25cde6d122067b7019 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 23 Jan 2012 08:12:52 +0000 Subject: * lib/uri/mailto.rb (URI::MailTo.build): follow Array#to_s change of Ruby 1.9; use Array#join. [Bug #5840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/mailto.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/uri/mailto.rb') diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb index 765528fb7f..079340cf58 100644 --- a/lib/uri/mailto.rb +++ b/lib/uri/mailto.rb @@ -103,7 +103,7 @@ module URI if tmp[:headers].kind_of?(Array) tmp[:opaque] << tmp[:headers].collect { |x| if x.kind_of?(Array) - x[0] + '=' + x[1..-1].to_s + x[0] + '=' + x[1..-1].join else x.to_s end -- cgit v1.2.3