#650: Issues with passing procs/methods to #map
--------------------------------+-------------------------------------------
Reporter: pthom...@… | Owner: lsansone...@…
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel