class ReverseAsciidoctor::Config

Attributes

mathml2asciimath[RW]
tag_border[RW]
unknown_tags[RW]

Public Class Methods

new() click to toggle source
# File lib/reverse_asciidoctor/config.rb, line 5
def initialize
  @unknown_tags     = :pass_through
  @mathml2asciimath     = false
  @em_delimiter     = '_'.freeze
  @strong_delimiter = '*'.freeze
  @inline_options   = {}
  @tag_border       = ' '.freeze
end

Public Instance Methods

with(options = {}) { || ... } click to toggle source
# File lib/reverse_asciidoctor/config.rb, line 14
def with(options = {})
  @inline_options = options
  result = yield
  @inline_options = {}
  result
end