module MasterView module Directives class Content < MasterView::DirectiveBase def etag(dcs) self.content = erb_content(attr_value) dcs.render end end end end