Class: Yuzu::Filters::TemplateFilter
- Defined in:
- lib/yuzu/filters/template.rb
Instance Attribute Summary
Attributes inherited from Filter
Instance Method Summary collapse
- #default(website_file) ⇒ Object
-
#initialize ⇒ TemplateFilter
constructor
A new instance of TemplateFilter.
Methods inherited from Filter
#filter_type, filters, #get_match, #get_value, #match, #process, #regex, registry, #replacement, #value
Constructor Details
#initialize ⇒ TemplateFilter
Returns a new instance of TemplateFilter.
5 6 7 8 |
# File 'lib/yuzu/filters/template.rb', line 5 def initialize @directive = "TEMPLATE" @name = :template end |
Instance Method Details
#default(website_file) ⇒ Object
10 11 12 |
# File 'lib/yuzu/filters/template.rb', line 10 def default(website_file) "generic.haml" end |