Class: Jason::RailsTemplateHandler
- Inherits:
-
Object
- Object
- Jason::RailsTemplateHandler
- Defined in:
- lib/jason/rails_template_handler.rb
Overview
Rails plugin for using Jason as a template handler.
Name your view templates like so: view_name.jason
.
Jason loads this module only if it can find ActionView
.
Instance Method Summary collapse
-
#call(template) ⇒ String
Compile the Rails template.