Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
mangle_comment(comment)
public
Remove the /*‘s and leading asterisks from C comments
# File lib/rdoc/parser/c.rb, line 620
def mangle_comment(comment)
comment.sub!(%{/\*+}) { " " * $&.length }
comment.sub!(%{\*+/}) { " " * $&.length }
comment.gsub!(/^[ \t]*\*/) { " " * $&.length }
comment
end