Sha256: e5252cf35e05f92adbed49ab3e238c314f466ce06ef81e4a059ab442e130bc4f
Contents?: true
Size: 364 Bytes
Versions: 6
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true module Stepmod module Utils module Converters class Dt < Stepmod::Utils::Converters::Base def convert(node, _state = {}) return "\n\n{blank}::" if node.text.strip.length.zero? "\n\n#{node.text}:: " end ReverseAdoc::Converters.register :dt, Dt.new end end end end
Version data entries
6 entries across 6 versions & 1 rubygems