
19 Apr
2025
19 Apr
'25
2:37 a.m.
Issue #20405 has been updated by nobu (Nobuyoshi Nakada). make_now_just (Hiroya Fujinami) wrote in #note-5:
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.
Cool. ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-112740 * 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/