
18 Apr
2025
18 Apr
'25
8:56 a.m.
Issue #20405 has been updated by make_now_just (Hiroya Fujinami). I'd propose `(= ... =)` for inline comments because Ruby already has `=begin` and `=end` syntax and it seems to relate to that. ``` p (= ^..^ =) :nyan ``` Also, I believe that `(= ... =)` does not break the current syntax. ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-112735 * 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/