#685: inject doesn't work with Procs -------------------------------------+-------------------------------------- Reporter: hghoe...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------------+-------------------------------------- Changes (by lsansone...@…):
* status: new => closed * resolution: => fixed Comment: Should be fixed in r4048. {{{ $ ./miniruby -e "p :+.to_proc.call(1,2)" 3 $ ./miniruby -e "def foo(a,b,c); self+a+b+c; end; p :foo.to_proc.call(100,1,2,3)" 106 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/685#comment:3> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel