[MacRuby-devel] [MacRuby] #674: Shoulda fails because of oddity with block_given?

MacRuby ruby-noreply at macosforge.org
Mon May 3 15:01:00 PDT 2010


#674: Shoulda fails because of oddity with block_given?
---------------------------------+------------------------------------------
 Reporter:  marick@…             |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  minor                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by lsansonetti@…):

 I have troubles reducing it.

 {{{
 $ ./miniruby -e "def foo(&b); 1.times { p block_given? }; end; foo{}"
 true
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/674#comment:2>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list