On Wed, Nov 12, 2008 at 04:48:03AM +0900, Dave Thomas wrote:
> Before this all grows to some large API, I was wondering: what actual  
> value are we trying to generate here. "Reflecting on method parameters" 
> is a technique, but what do we need to do with the result that needs all 
> this complexity? (I'm not saying it isn't needed, I'm just having a hard 
> time seeing what cold be needed that isn't answered with an array of 
> strings.

I think we actually just want:

1. the names of the arguments
2. whether each one is mandatory, optional, or splat

I think that's all that's needed for method calls.

However I'm not sure what should happen for methods defined from blocks,
e.g. define_method(:foo) { |a,(b,c)| ... }