Sha256: ebed871c7f1784810c22686fab7b6fc638a24dad009b14fd3c295cc167894322
Contents?: true
Size: 361 Bytes
Versions: 38
Compression:
Stored size: 361 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
38 entries across 38 versions & 1 rubygems