Sha256: d405c6ac7ad89e96adfdd6e4188b6d1c7f80a2059cd97acab2f51dab7dd3d3d0
Contents?: true
Size: 449 Bytes
Versions: 7
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module DocTemplate module Tags class TableTag < BaseTag def parse(node, opts = {}) unless (table = node.ancestors('table').first) raise ::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
7 entries across 7 versions & 1 rubygems