Hi,

In message "getting the arity"
    on 03/08/28, Jeff Mitchell <quixoticsycophant / yahoo.com> writes:

|So it appears impossible to get the arity of a method in a class
|without making an instance of that class.  Is this true?

You can get UnboundMethod from a class, e.g.

  p Regexp.instance_method(:match).arity
  # => 1

							matz.