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