A Proposal To Magically Remove 'params'
B.Candler at pobox.com
Wed Sep 5 03:39:40 EDT 2007
On Tue, Sep 04, 2007 at 11:54:38PM +0200, ry dahl wrote:
> 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)
> So - now that we have a quick simple extension, what would people say
> about arguments to actions?
$ sudo gem install method_args-0.0.1.gem
ERROR: While executing gem ... (RuntimeError)
Error instaling method_args-0.0.1.gem:
method_args requires Ruby version >= 1.8.6
$ ruby -v
ruby 1.8.4 (2005-12-24) [i486-linux]
Most distros don't have 1.8.6 included as standard yet (this machine is
Ubuntu-6.06.1). So if method_args really needs 1.8.6, I think its audience
will be limited for the time being.
More information about the Merb-devel