From: Andrei Bocan Date: 2012-03-15T20:57:48+09:00 Subject: [ruby-core:43304] [ruby-trunk - Bug #6107] Documentation Abbrev (stdlib) confusing Issue #6107 has been updated by Andrei Bocan. File 0001-Fix-documentation-for-Abbrev-abbrev.patch added Patch to fix this on trunk. ---------------------------------------- Bug #6107: Documentation Abbrev (stdlib) confusing https://bugs.ruby-lang.org/issues/6107#change-24605 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/