Class: R6_Template
- Inherits:
-
Object
- Object
- R6_Template
- Includes:
- TemplateEngine
- Defined in:
- lib/xamplr-gen/simpleTemplate/r6.rb,
lib/xamplr-gen/simpleTemplate/old/r6.000.rb,
lib/xamplr-gen/simpleTemplate/old/r6.001.rb
Overview
Define a class to hold the template methods. There is an attribute ‘message’ that can be set by the program invoking the template, and referred to by the templates.
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Attributes included from TemplateEngine
#file_name_to_method, #files, #method_to_file_name
Method Summary
Methods included from TemplateEngine
#build_script, #compile_scripts, #initialize, #macro
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
16 17 18 |
# File 'lib/xamplr-gen/simpleTemplate/r6.rb', line 16 def @message end |