Class: StaticMatic::TemplateHandlers::Textile
- Inherits:
-
ActionView::TemplateHandler
- Object
- ActionView::TemplateHandler
- StaticMatic::TemplateHandlers::Textile
- Defined in:
- lib/staticmatic/template_handlers/textile.rb
Instance Method Summary collapse
Instance Method Details
#render(template, local_assigns = {}) ⇒ Object
6 7 8 |
# File 'lib/staticmatic/template_handlers/textile.rb', line 6 def render(template, local_assigns = {}) ::RedCloth::new(template.source).to_html end |