Sync RDoc 6.14.0

This commit is contained in:
Stan Lo 2025-05-22 22:49:04 +01:00 committed by Takashi Kokubun
parent ca1ea95784
commit 03eb777c69
185 changed files with 2008 additions and 1655 deletions

View file

@ -7,11 +7,11 @@ class RDoc::Markup::Rule < Struct.new :weight
##
# Calls #accept_rule on +visitor+
def accept visitor
def accept(visitor)
visitor.accept_rule self
end
def pretty_print q # :nodoc:
def pretty_print(q) # :nodoc:
q.group 2, '[rule:', ']' do
q.pp weight
end