diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-03-13 21:14:54 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-03-13 21:15:08 +0900 |
commit | 416c63c118e61287d0f2c7114dbc404a5e27a650 (patch) | |
tree | 8cea930d2aa8a63d6876500f186361eea56ab8dd /lib/rdoc/single_class.rb | |
parent | 2af8b04eca68a924fd2875e9c5e51240150d02a6 (diff) |
[ruby/rdoc] Refine `pretty_print`
https://github.com/ruby/rdoc/commit/acb91ea74a
Diffstat (limited to 'lib/rdoc/single_class.rb')
-rw-r--r-- | lib/rdoc/single_class.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/single_class.rb b/lib/rdoc/single_class.rb index 6a7b67deb3..860f06a6e5 100644 --- a/lib/rdoc/single_class.rb +++ b/lib/rdoc/single_class.rb @@ -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 |