Module: Sinatra

Defined in:
lib/ext/partials.rb

Overview

An implementation of partials for Sinatra.

Can be used like: <%= partial(:foo) %>

Unlike Rails partials, the .erb files for these partials do not start with a leading underscore, i.e. the file name should be foo.rb, not _foo.rb.

Liberated from: github.com/cschneid/irclogger/blob/master/lib/partials.rb

Defined Under Namespace

Modules: Partials