summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/abbrev.rb5
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b1b875152d..7db62d18cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 17 03:51:42 2011 Eric Hodel <drbrain@segment7.net>
+
+ * lib/abbrev.rb: Hide copyright and revision information from RDoc.
+ Inspired by patch from David Copeland, bug #4703.
+
Tue May 17 03:33:21 2011 Eric Hodel <drbrain@segment7.net>
* lib/timeout.rb (module Timeout): Hide internal constants. Patch by
diff --git a/lib/abbrev.rb b/lib/abbrev.rb
index 6530679681..60dfd3a6d8 100644
--- a/lib/abbrev.rb
+++ b/lib/abbrev.rb
@@ -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.
#