Sha256: 1cdf69c86c8bf2d2d4400d11627da2ca03d2e5a9cf242174e2a9417a1a68dea3
Contents?: true
Size: 359 Bytes
Versions: 10
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true module Stepmod module Utils module Converters class Dt < ReverseAdoc::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
10 entries across 10 versions & 1 rubygems