Module

Compilable

There's no documentation for this item.

Modules
ClassMethod
Public Methods
compile_template Compile and evaluate the template’s code
included
Private Methods
assign_method_name
compile_template? Method to check whether template compilation is necessary. The template will be compiled if the inline template or file has not been compiled yet, if local_assigns has a new key, which isn’t supported by the compiled code yet, or if the file has changed on disk and checking file mods hasn’t been disabled.
compiled_method_name
compiled_method_name_file_path_segment
create_template_source Method to create the source code for a given template.
supports_local_assigns? Return true if the given template was compiled for a superset of the keys in local_assigns
template_changed_since? Method to handle checking a whether a template has changed since last compile; isolated so that templates not stored on the file system can hook and extend appropriately.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.