jruby
https://github.com/jruby/jruby
Ruby
JRuby, an implementation of Ruby on the JVM
XMLRPC::Client#call
Invokes the method named +method+ with the parameters given by +args+ on the XML-RPC server. The +method+ parameter is converted into a String and should be a valid XML-RPC method-name. Each parameter of +args+ must be of one of the following types, where Hash, Struct and Array can contain any of these listed _types_: * Fixnum, Bignum * TrueClass, FalseClass, +true+, +false+ * String, Symbol * Float * Hash, Struct * Array * Date, Time, XMLRPC::DateTime * XMLRPC::Base64 * A Ruby object which class includes XMLRPC::Marshallable (only if Config::ENABLE_MARSHALLING is +true+). That object is converted into a hash, with one additional key/value pair <code>___class___</code> which contains the class name for restoring that object later. The method returns the return-value from the Remote Procedure Call. The type of the return-value is one of the types shown above. A Bignum is only allowed when it fits in 32-bit. A XML-RPC +dateTime.iso8601+ type is always returned as a XMLRPC::DateTime object. Struct is never returned, only a Hash, the same for a Symbol, where as a String is always returned. XMLRPC::Base64 is returned as a String from xmlrpc4r version 1.6.1 on. If the remote procedure returned a fault-structure, then a XMLRPC::FaultException exception is raised, which has two accessor-methods +faultCode+ an Integer, and +faultString+ a String.
Edit
git clone [email protected]:jruby/jruby.git
cd jruby
open lib/ruby/stdlib/xmlrpc/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-XMLRPC--Client-call-for-pr
# Commit to gitgit add lib/ruby/stdlib/xmlrpc/client.rbgit commit -m "better docs for XMLRPC::Client#call"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-XMLRPC--Client-call-for-pr
hub pull-request
# Celebrate!