Sha256: 7d29b851241c168c607b64c38355f3dc1642a706d69095755bdf357a560d9f32

Contents?: true

Size: 288 Bytes

Versions: 10

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stepmod-utils-0.3.5 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.3.4 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.3.2 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.3.1 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.3.0 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.2.7 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.2.6 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.2.5 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.2.4 lib/stepmod/utils/converters/dd.rb
stepmod-utils-0.2.3 lib/stepmod/utils/converters/dd.rb