30 Oct
2009
30 Oct
'09
7:34 p.m.
#412: Calling return from a Proc raises an exception -------------------------------+-------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by lsansonetti@…): Yes, a lambda is a Proc too. {{{ $ ./miniruby -e "def foo; 1.times { return 42 }; end; p foo" 42 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/412#comment:4> MacRuby <http://macruby.org/>