Sha256: 56eb3d8d3c08f8329fe07de1fb44dd1d84714999fb7920a7bcb6a86578540dcc

Contents?: true

Size: 293 Bytes

Versions: 13

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module Stepmod
  module Utils
    module Converters
      class Dd < Stepmod::Utils::Converters::Base
        def convert(node, _state = {})
          "#{node.text}\n"
        end

        ReverseAdoc::Converters.register :dd, Dd.new
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stepmod-utils-0.6.6 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.6.5 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.6.3 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.6.2 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.6.1 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.6.0 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.5.0 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.14 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.13 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.12 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.11 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.10 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.4.9 lib/stepmod/utils/converters/dd.rb