[MacRuby-devel] [MacRuby] #685: inject doesn't work with Procs
MacRuby
ruby-noreply at macosforge.org
Thu May 6 16:05:02 PDT 2010
#685: inject doesn't work with Procs
-------------------------------------+--------------------------------------
Reporter: hghoehne@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by martinlagardette@…):
I guess this error is related to that:
{{{
$> ruby19 -e 'p :+.to_proc.call(1, 2)'
3
$> macruby -e 'p :+.to_proc.call(1, 2)'
/private/tmp/-e:1:in `<main>': wrong number of arguments (0 for 1)
(ArgumentError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/685#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list