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
-
#report ⇒ Object
Returns the value of attribute report.
Instance Attribute Details
#report ⇒ Object
Returns the value of attribute report.
11 12 13 |
# File 'lib/base/base_template.rb', line 11 def report @report end |