Sha256: e8362f00ff027a060b7ba546f55548588226fc43ac311376692f34359cea8246
Contents?: true
Size: 411 Bytes
Versions: 5
Compression:
Stored size: 411 Bytes
Contents
module MasterView module Directives class Content < MasterView::DirectiveBase metadata :priority => :default, :category => 'general', :description => 'Replaces the content of the element with the value of the expression' # replace the content of the element with <%= attr_value %> event :content do render erb_content( attr_value ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems