Sha256: aa6ee3e719906624c4d933a914ddd10485c9a17ef027dbaffe6ad52347abec4d
Contents?: true
Size: 977 Bytes
Versions: 27
Compression:
Stored size: 977 Bytes
Contents
module MasterView module Directives class TestDirective < MasterView::DirectiveBase def priority DirectivePriorities::Low end def stag(dcs) ret = [] ret << 'stag' ret << dcs.render ret << 'stagend' end def characters(dcs) ret = [] ret << 'char' ret << dcs.render end def comment(dcs) ret = [] ret << 'com' ret << dcs.render end def cdata(dcs) ret = [] ret << 'cdata' ret << dcs.render end def etag(dcs) ret = [] ret << 'etag' ret << dcs.render ret << 'etagend' end def child_title_stag(dcs) ret = [] ret << 'desctitle' ret << dcs.render end def child_title_etag(dcs) dcs.context[:tag].content = @attribute_value ret = [] ret << dcs.render end end end end
Version data entries
27 entries across 27 versions & 2 rubygems