Sha256: e6444bc5de0e103ad0a01f33cedd14fa92d4e5db9779b19d2faf14002f4c298f
Contents?: true
Size: 463 Bytes
Versions: 9
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true module DocTemplate module Tags class TableTag < BaseTag def parse(node, opts = {}) unless (table = node.ancestors('table').first) raise ::Lcms::Engine::DocumentError, "Tag #{self.class::TAG_NAME.upcase} placed outside table" end @opts = opts parse_table table self end def parse_table(_table) raise NotImplementedError end end end end
Version data entries
9 entries across 9 versions & 1 rubygems