Yesterday (Feb 10, 2009),
In the monthly meet-up of that community,
And I made it as a gem for ease of use. Now we can use it by the command below.
1 % sudo gem install methopara --source http://mer
Usage is as follows.
1 >> require "rubygems" 2 >> require "methopara" 3 >> def foo(a,b=nil,&c) end 4 >> method(:foo).parameters
5 => [[:req, :a], [:opt, :b], [:block, :c]]
This gem is only for Ruby-1.9.1