returns true, if the arity of "obj" matches
# File xmlrpc/server.rb, line 352 def check_arity(obj, n_args) ary = obj.arity if ary >= 0 n_args == ary else n_args >= (ary+1).abs end end
<code/>
<pre/>
<code/>and<pre/>for code samples.