Padrino enhances the Sinatra 'render' method to have support for automatic template engine detection, enhanced layout functionality, locale enabled rendering, among other features.
Default rendering options used in the render-method.
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 << /~$/
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
Generated with the Darkfish Rdoc Generator 2.