Sha256: 7f3ae3f0e11576caada5f858031a0c413d67a3ffd512a2818ceba5971ea824b3

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

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

      ReverseAdoc::Converters.register :introduction, Introduction.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stepmod-utils-0.2.4 lib/stepmod/utils/converters/introduction.rb
stepmod-utils-0.2.3 lib/stepmod/utils/converters/introduction.rb