Sha256: 247ed232f21791ec07e91ee39174a0814941a358d0efa7a5b7eba9295f9cc65e
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module DocTemplate module Tags class MaterialsTag < BaseTag TAG_NAME = 'materials' TEMPLATE = 'materials.html.erb' def parse(node, _opts = {}) # we have to collect all the next siblings until next activity-metadata content_until_break(node) node.remove self end end end Template.register_tag(Tags::MaterialsTag::TAG_NAME, Tags::MaterialsTag) end
Version data entries
16 entries across 16 versions & 1 rubygems