Sha256: 57b2c2b217cb8509107138a89515478c9f904d2a9f3d3c9a410892d3d586a74b

Contents?: true

Size: 455 Bytes

Versions: 20

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true

require "metanorma/plugin/lutaml/lutaml_diagram_base"

module Metanorma
  module Plugin
    module Lutaml
      class LutamlDiagramBlockMacro < ::Asciidoctor::Extensions::BlockMacroProcessor
        include LutamlDiagramBase

        use_dsl
        named :lutaml_diagram

        def lutaml_file(document, file_path)
          File.new(Utils.relative_file_path(document, file_path))
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
metanorma-plugin-lutaml-0.7.16 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.15 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.14 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.13 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.12 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.11 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.10 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.9 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.8 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.7 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.6 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.5 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.4 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.3 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.2 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.1 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.7.0 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.6.6 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.6.0 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb
metanorma-plugin-lutaml-0.5.0 lib/metanorma/plugin/lutaml/lutaml_diagram_block_macro.rb