[MacRuby-devel] [MacRuby] #829: Retrieving a list of local variables from a Binding instance fails
MacRuby
ruby-noreply at macosforge.org
Thu Aug 5 01:42:31 PDT 2010
#829: Retrieving a list of local variables from a Binding instance fails
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: dietrb
-------------------------------------+--------------------------------------
{{{
% macruby -e "b = Object.new.instance_eval { binding }; eval('x = :ok',
b); eval('p local_variables', b)"
[]
% ruby19 -e "b = Object.new.instance_eval { binding }; eval('x = :ok', b);
eval('p local_variables', b)"
[:x, :b]
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/829>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list