Class: Yuzu::Filters::TemplateFilter

Inherits:
Filter show all
Defined in:
lib/yuzu/filters/template.rb

Instance Attribute Summary

Attributes inherited from Filter

#directive, #name

Instance Method Summary collapse

Methods inherited from Filter

#filter_type, filters, #get_match, #get_value, #match, #process, #regex, registry, #replacement, #value

Constructor Details

#initializeTemplateFilter

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