Class: MetricFu::Template
- Inherits:
-
Object
- Object
- MetricFu::Template
- Defined in:
- lib/base/base_template.rb
Overview
The Template class is intended as an abstract class for concrete template classes to subclass. It provides a variety of utility methods to make templating a bit easier. However, classes do not have to inherit from here in order to provide a template. The only requirement for a template class is that it provides a #write method to actually write out the template. See StandardTemplate for an example.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#per_file_data ⇒ Object
Returns the value of attribute per_file_data.
-
#report ⇒ Object
Returns the value of attribute report.
Instance Attribute Details
#per_file_data ⇒ Object
Returns the value of attribute per_file_data.
11 12 13 |
# File 'lib/base/base_template.rb', line 11 def per_file_data @per_file_data end |
#report ⇒ Object
Returns the value of attribute report.
11 12 13 |
# File 'lib/base/base_template.rb', line 11 def report @report end |