From: siep korteling Date: 2012-03-03T06:13:15+09:00 Subject: [ruby-core:43058] [ruby-trunk - Bug #6107][Open] Documentation Abbrev (stdlib) confusing Issue #6107 has been reported by siep korteling. ---------------------------------------- Bug #6107: Documentation Abbrev (stdlib) confusing https://bugs.ruby-lang.org/issues/6107 Author: siep korteling Status: Open Priority: Low Assignee: 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/