From: "austin (Austin Ziegler) via ruby-core" Date: 2023-05-24T19:59:22+00:00 Subject: [ruby-core:113642] [Ruby master Feature#19688] Add indentable block comment syntax Issue #19688 has been updated by austin (Austin Ziegler). rubyFeedback (robert heiler) wrote in #note-3: > As for rdoc: I don't like rdoc's syntax either. I feel the > entries such as "@param xyz" are quite distracting. These > are, however had, extremely popular - a lot of ruby gems > use them, probably because the generated documentation e. g. > in yard, can be quite helpful. `@param xyz` is not syntax for rdoc; it is something created by YARD out of some misbegotten love of Javadoc or Doxygen, I guess. I have nothing nice to say about that syntax, and several worse things to say about YARD's ignoring rdoc directives in favour of such silliness. I think that the `=begin`/`=end` format has seen less use because I���m not entirely sure that rdoc supports parsing properly inside those comments, and it���s atypical to see `=begin`/`=end` comments attached to method definitions. ---------------------------------------- Feature #19688: Add indentable block comment syntax https://bugs.ruby-lang.org/issues/19688#change-103286 * Author: ccmywish (Aoran Zeng) * Status: Feedback * Priority: Normal ---------------------------------------- Ruby's default block comment is using `=begin` and `=end` ```ruby =begin Some block comments =end ``` However, we must place them at the top of the line, thus we can't indent them, for example: ```ruby class A class B class C =begin The comment for this method =end def hello end end end end ``` This is something like the situation of `<