Class Mustache::Rails
In: lib/generators/mustache/install/templates/lib/mustache_rails.rb
Parent: Mustache

Remember to use {{{yield}}} (3 mustaches) to skip escaping HTML Using {{{tag}}} will skip escaping HTML so if your mustache methods return HTML, be sure to interpolate them using 3 mustaches.

Methods

Classes and Modules

Module Mustache::Rails::Config
Class Mustache::Rails::TemplateHandler

Attributes

view  [RW] 

Public Instance methods

Redefine where Mustache::Rails templates locate their partials:

(1) in the same directory as the current template file. (2) in the shared templates path (can be configured via Config.shared_path=(value))

[Validate]