Issue #440 has been updated by Roger Pack.


if you don't mind a hack then
RubyVM::InstructionSequence.disasm 
might help.
Looks like it would be nice to add something to do this, though, since it seems difficult to tell from the #arity call to see how many optional and non optional arguments there are.
Cheers.
-=R
----------------------------------------
http://redmine.ruby-lang.org/issues/show/440

----------------------------------------
http://redmine.ruby-lang.org