class Risu::Base::TemplateBase

Base template class, all report templates must be a subclass of this.

Attributes

possible_templates[R]
output[RW]

@TODO comment

template_info[RW]

Accessors for template meta-data

@return [Hash] Containing template meta-data

Public Class Methods

inherited(child) click to toggle source

Adds any class that inherits from [TemplateBase] into an [Array] of possible templates for further validation.

# File lib/risu/base/template_base.rb, line 47
def self.inherited(child)
        possible_templates << child
end