[ruby-core:117539] [Ruby master Feature#20405] Inline comments
From:
"matheusrich (Matheus Richard) via ruby-core" <ruby-core@...>
Date:
2024-04-16 19:44:37 UTC
List:
ruby-core #117539
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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/