Sha256: 3b90da8ecbd89cb2959fbc937af1843b99bdcc89389bf7664411eea9647e85e7

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require "pandoc_object_filters"

module PandocObjectFilters
  module V1_16
    module Element
      class BaseElement < PandocObjectFilters::V1_16::Element::Base
        module Behavior
          def to_ast
            { "t" => element_name, "c" => PandocObjectFilters::Element.to_ast(contents) }
          end
        end

        include Behavior
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pandoc_object_filters-0.2.0 lib/pandoc_object_filters/v1_16/element/base_element.rb