From: Eric Hodel Date: 2012-03-03T06:27:17+09:00 Subject: [ruby-core:43059] [ruby-trunk - Bug #6107] Documentation Abbrev (stdlib) confusing Issue #6107 has been updated by Eric Hodel. Assignee set to Eric Hodel Priority changed from Low to Normal ---------------------------------------- Bug #6107: Documentation Abbrev (stdlib) confusing https://bugs.ruby-lang.org/issues/6107 Author: siep korteling Status: Open Priority: Normal Assignee: Eric Hodel Category: Target version: ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux] ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux] The example in the documentation suggests Abbrev::abrev returns an Array. It does return a hash; the array is the result of the #sort method. -- http://bugs.ruby-lang.org/