Sha256: d7f1ae8d8a024b1ace64b83a69427ffe7b3642dcc28fd4f387e25a9da49886b7
Contents?: true
Size: 484 Bytes
Versions: 61
Compression:
Stored size: 484 Bytes
Contents
module Spider; module TemplateBlocks class Tag < Block def compile(options={}) block = Spider::TemplateBlocks.parse_element(process, @allowed_blocks, @template) return block.compile(options) end def process klass = Spider::Template.get_registered_class(@el.name) tag = klass.new(@el) return Hpricot(tag.render).root end end end; end
Version data entries
61 entries across 61 versions & 1 rubygems