diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-06 01:19:06 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-06 01:19:06 +0000 |
commit | a4a18e67e0970d1edde4b5b5535be561b92dd730 (patch) | |
tree | e18f56c073401cff479f47fad26e5415f9f7e651 | |
parent | 8f825f5643c47eb10e546edd87beded717563f16 (diff) |
1.8 doesn't have String#clear
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rdoc/parsers/parse_rb.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 15b3484cb7..e306598dee 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}'" |