Roda::RodaPlugins::

Presenters module

Constants

OPTS

Default options

Public Class Methods

configure( app, opts=OPTS, &block )

Add presenter variables to the given app.

# File lib/roda/plugins/presenters.rb, line 14
def self::configure( app, opts=OPTS, &block )
    collection = opts[:collection] || Module.new
    app.singleton_class.attr_accessor :presenter_collection
    app.presenter_collection = collection
end