jruby

https://github.com/jruby/jruby

Ruby

JRuby, an implementation of Ruby on the JVM

XMLRPC::Client#call2

The difference between this method and XMLRPC::Client#call is, that
this method will <b>NOT</b> raise a XMLRPC::FaultException exception.

The method returns an array of two values. The first value indicates if
the second value is +true+ or an XMLRPC::FaultException.

Both are explained in XMLRPC::Client#call.

Simple to remember: The "2" in "call2" denotes the number of values it returns.

Source | Google | Stack overflow

Edit

git clone [email protected]:jruby/jruby.git

cd jruby

open lib/ruby/stdlib/xmlrpc/client.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-XMLRPC--Client-call2-for-pr


# Commit to git

git add lib/ruby/stdlib/xmlrpc/client.rbgit commit -m "better docs for XMLRPC::Client#call2"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-XMLRPC--Client-call2-for-pr

hub pull-request


# Celebrate!