summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 01:19:06 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 01:19:06 +0000
commit9a3597c43cff833deee4cd3e9868b1f083935bfc (patch)
treee18f56c073401cff479f47fad26e5415f9f7e651
parentc745b3478110beef8ba2544dc31e09c4a9f8f5ce (diff)
downloadruby-9a3597c43cff833deee4cd3e9868b1f083935bfc.tar.gz
ruby-9a3597c43cff833deee4cd3e9868b1f083935bfc.tar.xz
ruby-9a3597c43cff833deee4cd3e9868b1f083935bfc.zip
1.8 doesn't have String#clear
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fda8fbb71..bdcbd82e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 6 10:18:17 2004 Dave Thomas <dave@pragprog.com>
+
+ * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::look_for_directives_in):
+ Oops - 1.8 doesn't have String#clear
+
Mon Dec 6 01:42:08 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index 15b3484cb..e306598de 100644
--- a/lib/rdoc/parsers/parse_rb.rb
+++ b/lib/rdoc/parsers/parse_rb.rb
@@ -2311,7 +2311,7 @@ module RDoc
when "section"
context.set_current_section(param, comment)
- comment.clear
+ comment.replace("") # 1.8 doesn't support #clear
break
else
warn "Unrecognized directive '#{directive}'"