From af34959f5414a4abdd4a85b911b2041bc09a7c8e Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 2 Nov 2006 00:21:28 +0000 Subject: * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should come earlier than String. * lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap): ditto. * lib/set.rb (TC_Set::test_s_new): strings are no longer Enumerable * lib/soap/property.rb (Property::load): ditto. * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto. * lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/xmlrpc/create.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/xmlrpc') diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb index 9150e2f56..9a3df0d83 100644 --- a/lib/xmlrpc/create.rb +++ b/lib/xmlrpc/create.rb @@ -194,12 +194,12 @@ module XMLRPC when TrueClass, FalseClass @writer.tag("boolean", param ? "1" : "0") - when String - @writer.tag("string", param) - when Symbol @writer.tag("string", param.to_s) + when String + @writer.tag("string", param) + when NilClass if Config::ENABLE_NIL_CREATE @writer.ele("nil") -- cgit