[ruby/rdoc] Refine pretty_print

https://github.com/ruby/rdoc/commit/acb91ea74a
This commit is contained in:
Nobuyoshi Nakada 2022-03-13 21:14:54 +09:00 committed by git
parent 2af8b04eca
commit 416c63c118
3 changed files with 7 additions and 2 deletions

View File

@ -22,5 +22,10 @@ class RDoc::SingleClass < RDoc::ClassModule
"class << #{full_name}"
end
def pretty_print q # :nodoc:
q.group 2, "[class << #{full_name}", "]" do
next
end
end
end