Sha256: 5bf5ca394d62b4706f49e2c19e4e73ea9e70804e108de1ad4c3ded135c32e846
Contents?: true
Size: 330 Bytes
Versions: 7
Compression:
Stored size: 330 Bytes
Contents
require 'frank/lorem' module Frank module TemplateHelpers include FrankHelpers if defined? FrankHelpers def render_partial(path) pieces = path.split('/') partial = '_' + pieces.pop render_path File.join(pieces.join('/'), partial) end def lorem Frank::Lorem end end end
Version data entries
7 entries across 7 versions & 1 rubygems