From a4a18e67e0970d1edde4b5b5535be561b92dd730 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 6 Dec 2004 01:19:06 +0000 Subject: 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 --- lib/rdoc/parsers/parse_rb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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}'" -- cgit v1.2.3