[MacRuby-devel] [MacRuby] #650: Issues with passing procs/methods to #map
MacRuby
ruby-noreply at macosforge.org
Wed Apr 7 11:37:14 PDT 2010
#650: Issues with passing procs/methods to #map
--------------------------------+-------------------------------------------
Reporter: pthomson@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
{{{
%w{rubygems hotcocoa}.each { |i| require i }
}}}
This works fine on MacRuby. However,
{{{
%w{rubygems hotcocoa}.each(&method(:require))
}}}
does not work on MacRuby (it says that HotCocoa cannot be loaded), though
this pattern works on 1.9.
--
Ticket URL: <http://www.macruby.org/trac/ticket/650>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list