Sha256: 32e896d5664d329134fc523bd5489e1f6667f8e11d570df27afecf2af68d64ef
Contents?: true
Size: 578 Bytes
Versions: 28
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: true require_relative "./table" module Stepmod module Utils module Converters class ExpressTable < Stepmod::Utils::Converters::Table # def self.pattern(id) # "table-exp-#{id}" # end def convert(node, state = {}) <<~TEMPLATE (*"#{state[:schema_and_entity]}.__table" #{super(node, state.merge(no_notes_examples: nil)).strip} *) TEMPLATE end end ReverseAdoc::Converters.register :express_table, ExpressTable.new end end end
Version data entries
28 entries across 28 versions & 1 rubygems