Sha256: ca3493075c7efb62a2bcb13a8be5d2c23d59aeed7aa4c2e6318707b74d9d68d8
Contents?: true
Size: 465 Bytes
Versions: 8
Compression:
Stored size: 465 Bytes
Contents
require 'spiderfw/templates/template_blocks' module Spider; module TemplateBlocks class Yield < Block def compile(options={}) init = nil to = @el.attributes['to'] || 'yield_to' #c = "self[:yield_to][:controller].send(self[:yield_to][:action], *self[:yield_to][:arguments])\n" c = "yield :#{to}\n" return CompiledBlock.new(init, c) end end end; end
Version data entries
8 entries across 8 versions & 1 rubygems