[MacRuby-devel] [MacRuby] #745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And p_find_all causes an error.

MacRuby ruby-noreply at macosforge.org
Sat Jun 12 06:51:15 PDT 2010


#745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And
p_find_all causes an error.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 p_findall is written by explaining Enumerable#p_find in README.rdoc.

 And a execution result doesn't become it according to a explanation.

 {{{
 $ cat p_find.rb
 require 'dispatch'

 p (0..4).p_find { |i| i.odd?} # => 1
 }}}

 {{{
 $ macruby p_find.rb
 nil
 }}}

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



More information about the MacRuby-devel mailing list