A Proposal To Magically Remove 'params'
ry dahl
ry at tinyclouds.org
Tue Sep 4 17:54:38 EDT 2007
Here is an extension which allows one to inspect the arguments of a
method. To use it do this:
require 'method_args'
m = my_object.method(:my_method)
m.args
http://s3.amazonaws.com/four.livejournal/20070904/method_args-0.0.1.zip
http://s3.amazonaws.com/four.livejournal/20070904/method_args-0.0.1.gem
So - now that we have a quick simple extension, what would people say
about arguments to actions?
ry
More information about the Merb-devel
mailing list