Project

General

Profile

Actions

Bug #4703

closed

Give abbrev a brief rdoc summary (patch included)

Added by davetron5000 (David Copeland) almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.3dev (2011-05-16 trunk 31583) [x86_64-darwin10.7.0]
Backport:
[ruby-core:36214]

Description

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


Files

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

Updated by drbrain (Eric Hodel) almost 13 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

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.

Actions

Also available in: Atom PDF

Like0
Like0