[ruby/rdoc] [DOC] Add missing documents

e4c90340d0
This commit is contained in:
Nobuyoshi Nakada 2023-12-15 19:35:16 +09:00
parent 578eb02b16
commit e15d690db1
12 changed files with 63 additions and 2 deletions

View file

@ -1215,6 +1215,9 @@ class RDoc::Parser::C < RDoc::Parser
@top_level
end
##
# Creates a RDoc::Comment instance.
def new_comment text = nil, location = nil, language = nil
RDoc::Comment.new(text, location, language).tap do |comment|
comment.format = @markup