Sha256: 14462674aae283f3cb7efdab09ea1e8aa0c41857c192a03961cd82e7d40cfd97
Contents?: true
Size: 723 Bytes
Versions: 6
Compression:
Stored size: 723 Bytes
Contents
module MasterView module Directives # just eat this output since it is only used for design time class Import_render < MasterView::DirectiveBase def priority DirectivePriorities::VeryHigh end # need to expand keywords def initialize(attribute_value) super(attribute_value) @attribute_value = Renderer.last_renderer.keyword_expander.expand_keywords(attribute_value) end def stag(dcs) #output nothing end def etag(dcs) tag = dcs.context[:tag] tag.content = [] # clear out any content including from children ret = [] ret << erb_content('render( '+attr_value+' )') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems