Bug #4703

Give abbrev a brief rdoc summary (patch included)

Added by David Copeland almost 3 years ago. Updated almost 3 years ago.

[ruby-core:36214]
Status:Rejected
Priority:Normal
Assignee:Eric Hodel
Category:doc
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2011-05-16 trunk 31583) [x86_64-darwin10.7.0] Backport:

Description

Would be nice to get a one-line summary of abbrev via it's rdoc page. This patch adds that.

0001-Give-abbrev-a-one-line-summary.patch Magnifier (589 Bytes) David Copeland, 05/16/2011 11:45 AM

Associated revisions

Revision 31593
Added by Eric Hodel almost 3 years ago

  • lib/abbrev.rb: Hide copyright and revision information from RDoc. Inspired by patch from David Copeland, bug #4703.

History

#1 Updated by Eric Hodel almost 3 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 @@
#!/usr/bin/env ruby
-=begin
-#
+#--
# 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 $
# $Id$
-=end
+#++

# Calculate the set of unique abbreviations for a given set of strings.
#

Also available in: Atom PDF