[MacRuby-devel] [MacRuby] #685: inject doesn't work with Procs
MacRuby
ruby-noreply at macosforge.org
Fri May 7 18:32:12 PDT 2010
#685: inject doesn't work with Procs
-------------------------------------+--------------------------------------
Reporter: hghoehne@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
-------------------------------------+--------------------------------------
Changes (by lsansonetti@…):
* 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/>
More information about the MacRuby-devel
mailing list