mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
parent
578eb02b16
commit
e15d690db1
12 changed files with 63 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue