Issue #5425 has been updated by Benoit Daloze.


There is a typo in the example for uniq:
  b.uniq!{ ...

Also, the added description how to pass a block should be the same in uniq and uniq! (I prefer the one of uniq!).

Thanks for documenting in sentences this behavior.
----------------------------------------
Bug #5425: Improves Array's uniq/uniq! example
http://redmine.ruby-lang.org/issues/5425

Author: Alvaro Pereyra Rabanal
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 1.9.3
ruby -v: trunk


Updates examples on uniq and uniq! with a more cleaner case. Changes wording to refer a block is possible. 


-- 
http://redmine.ruby-lang.org