Files

Padrino::Rendering

Padrino enhances the Sinatra 'render' method to have support for automatic template engine detection, enhanced layout functionality, locale enabled rendering, among other features.

Constants

DEFAULT_RENDERING_OPTIONS

Default rendering options used in the render-method.

IGNORE_FILE_PATTERN

This is an array of file patterns to ignore. If your editor add a suffix during editing to your files please add it like:

@example

Padrino::Rendering::IGNORE_FILE_PATTERN << /~$/

Public Class Methods

included(app) click to toggle source
Alias for: registered
registered(app) click to toggle source

Main class that register this extension.

# File lib/padrino-core/application/rendering.rb, line 36
def registered(app)
  app.send(:include, InstanceMethods)
  app.extend(ClassMethods)
end
Also aliased as: included

[Validate]

Generated with the Darkfish Rdoc Generator 2.