1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] ClassModule#add_comment should receive RDoc::Comment

3fb03bf399
This commit is contained in:
aycabta 2019-01-20 13:18:22 +09:00 committed by Hiroshi SHIBATA
parent 95aa60f6cd
commit f7cbbc7074
3 changed files with 18 additions and 10 deletions

View file

@ -33,6 +33,11 @@ class RDoc::Comment
attr_reader :text
##
# Alias for text
alias to_s text
##
# Overrides the content returned by #parse. Use when there is no #text
# source for this comment