Sha256: 2a6b3043647ca3f02ec2b131772f127d2858ea5f4851c9bab9fb4d6387e55372
Contents?: true
Size: 329 Bytes
Versions: 16
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true require "asciidoctor" module Milestoner module Renderers # Renders ASCII Doc as HTML. class Asciidoc def initialize client: Asciidoctor @client = client end def call(content) = client.convert content private attr_reader :client end end end
Version data entries
16 entries across 16 versions & 1 rubygems