
16 Apr
2024
16 Apr
'24
8:44 p.m.
Issue #20405 has been updated by matheusrich (Matheus Richard). I think, unironically, this could be a nice addition. Maybe with a syntax closer to the current comments? ```rb p #= This is a comment #= and nested one =# =# :| => :| ``` ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-107930 * Author: nobu (Nobuyoshi Nakada) * Status: Open ---------------------------------------- I propose a new inline comment syntax. ```ruby p (| This is a comment (| and nested one |) /:|) (:|) #=> :| ``` -- https://bugs.ruby-lang.org/