Class: MasterView::Directives::InsertGeneratedComment
- Inherits:
-
MasterView::DirectiveBase
- Object
- MasterView::DirectiveBase
- MasterView::Directives::InsertGeneratedComment
- Defined in:
- lib/masterview/directives/insert_generated_comment.rb
Overview
Inserts a comment into the file that indicates that this file was generated and should not be edited, else changes could be lost. The standard generated-file comment includes the path to the original file that should be edited.
Constant Summary collapse
- Comment_eval_template =
Configured value for generated comment text is eval’d to support #template_path field substitution
'comment_text = "' + MasterView::GeneratedCommentText + '"'