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)
> 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?
$ sudo gem install method_args-0.0.1.gem
Password:
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.
Regards,
Brian.
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel