Sha256: b035bad52abc89a0967b56e6bc04746fb99074e1a9654f6fe0f433bcf721efff
Contents?: true
Size: 822 Bytes
Versions: 18
Compression:
Stored size: 822 Bytes
Contents
# -*- encoding: utf-8 -*- module Webgen class Context # Provides methods for using webgen tags. module WebgenTags # Returns the result of evaluating the webgen tag +name+ with the tag parameters +params+ and # the +body+ in the current context. # # Have a look at Webgen::Tag for more information about webgen tags! # # This method is useful when you want to have the functionality of webgen tags available but you # don't want to use the content processor for them. Or, for example, if the used markup language # uses a similar markup as webgen tags do and therefore you can't use the normal webgen tags # content processor. def tag(name, params = {}, body = '') website.ext.tag.call(name, params, body, self) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems