Give abbrev a brief rdoc summary (patch included)
|ruby -v:||ruby 1.9.3dev (2011-05-16 trunk 31583) [x86_64-darwin10.7.0]||Backport:|
Would be nice to get a one-line summary of abbrev via it's rdoc page. This patch adds that.
- lib/abbrev.rb: Hide copyright and revision information from RDoc. Inspired by patch from David Copeland, bug #4703.
#1 Updated by Eric Hodel almost 4 years ago
- Status changed from Open to Rejected
Looks like abbrev already has a short one-line description but it's obscured. I applied this patch instead:
@@ -1,6 +1,5 @@
# Copyright (c) 2001,2003 Akinori MUSHA knu@iDaemons.org
# All rights reserved. You can redistribute and/or modify it under
@@ -9,7 +8,7 @@
# $Idaemons: /home/cvs/rb/abbrev.rb,v 1.2 2001/05/30 09:37:45 knu Exp $
# $RoughId: abbrev.rb,v 1.4 2003/10/14 19:45:42 knu Exp $
# Calculate the set of unique abbreviations for a given set of strings.