Sha256: 24bc14fe9542b8e752e6e647e13c8f5653a74c04a2a6b0cc21f3aea6597c1369

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

require "json-schema"
require "json"
require "yaml"

require "zeitwerk"
loader = Zeitwerk::Loader.for_gem
loader.setup

module RenderEditorjs
  class Error < StandardError; end

  def self.render(content)
    RenderEditorjs::Document.new(RenderEditorjs::DefaultRenderer.new, content).render
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
render_editorjs-0.1.0 lib/render_editorjs.rb