diff --git a/lib/prism/node_ext.rb b/lib/prism/node_ext.rb index 939740385c..469e54ca0c 100644 --- a/lib/prism/node_ext.rb +++ b/lib/prism/node_ext.rb @@ -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: diff --git a/prism/templates/template.rb b/prism/templates/template.rb index 12fcebb4a7..bf0d8ac9b7 100755 --- a/prism/templates/template.rb +++ b/prism/templates/template.rb @@ -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