From: ts Date: 2001-09-24T22:13:25+09:00 Subject: [ruby-talk:21633] Re: C++ / Ruby questions again >>>>> "B" == =?ISO-8859-1?Q?Bernhard Gl=FCck?= writes: B> What the h*** is "#arity" ? Is this a ruby method ? or something else Yes. Proc#arity means the instance method arity Proc::new means the class method new For example, in ruby pigeon% cat b.rb #!/usr/bin/ruby class A def a(b, c) end end a = A.new am = a.method(:a) p am.arity pigeon% pigeon% b.rb 2 pigeon% See http://www.rubycentral.com/book/ref_c_method.html#arity Guy Decoux