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