Skip to content

Commit 30ea752

Browse files
committed
String#clear does not exist on 1.8
1 parent 6b2abf4 commit 30ea752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/parsers/parse_rb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ def look_for_directives_in(context, comment)
23162316

23172317
when "section"
23182318
context.set_current_section(param, comment)
2319-
comment.clear
2319+
comment.replace ''
23202320
break
23212321

23222322
else

0 commit comments

Comments
 (0)