Sha256: d4da72bab3640d00e41bf89bd5cd79838d21ee924a1c0e766a711181e47f0be1

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module ReverseAdoc
  module Converters
    class Hr < Base
      def to_coradoc(_node, _state = {})
        Coradoc::Element::Break::ThematicBreak.new
      end

      def convert(node, state = {})
        Coradoc::Generator.gen_adoc(to_coradoc(node, state))
      end
    end

    register :hr, Hr.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reverse_adoc-1.0.1 lib/reverse_adoc/converters/hr.rb
reverse_adoc-1.0.0 lib/reverse_adoc/converters/hr.rb