[ruby/prism] [DOC] Stop rdoc from processing non-rdoc comments
authorNobuyoshi Nakada <[email protected]>
Wed, 28 May 2025 10:40:53 +0000 (28 19:40 +0900)
committergit <[email protected]>
Thu, 29 May 2025 04:45:59 +0000 (29 04:45 +0000)
https://github.com/ruby/prism/commit/de1faa1680

lib/prism/node_ext.rb
prism/templates/template.rb

index 9397403..469e54c 100644 (file)
@@ -1,8 +1,10 @@
 # frozen_string_literal: true
 # :markup: markdown
 
+#--
 # Here we are reopening the prism module to provide methods on nodes that aren't
 # templated and are meant as convenience methods.
+#++
 module Prism
   class Node
     def deprecated(*replacements) # :nodoc:
index 12fcebb..bf0d8ac 100755 (executable)
@@ -554,9 +554,11 @@ module Prism
             # :markup: markdown
 
             =begin
+            --
             This file is generated by the templates/template.rb script and should not be
             modified manually. See #{filepath}
             if you are looking to modify the template
+            ++
             =end
 
             HEADING