diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-02 00:21:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-02 00:21:28 +0000 |
commit | 84e2f5268a4844d7999a9424c7f6a94fd4a68cb7 (patch) | |
tree | 9bfd2df5a5e574ddae6685e70d720dcae09fcbb6 /lib/xmlrpc | |
parent | 92ca42cb3e2fcfcee94a1f9718fcf94a9b31d947 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r-- | lib/xmlrpc/create.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb index 9150e2f56f..9a3df0d832 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") |