Sha256: ff915629f9e5d62f3fcb336214fb1181eb0fa3f3c9b1725d69b131484fd5b2bc
Contents?: true
Size: 468 Bytes
Versions: 53
Compression:
Stored size: 468 Bytes
Contents
require 'spiderfw/templates/template_blocks' module Spider; module TemplateBlocks class Yield < Block def compile(options={}) init = nil to = @el.get_attribute('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
53 entries across 53 versions & 1 rubygems