class ReverseMarkdown::Config
Attributes
github_flavored[RW]
tag_border[RW]
Public Class Methods
new()
click to toggle source
# File lib/reverse_markdown/config.rb, line 5 def initialize @unknown_tags = :pass_through @github_flavored = 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_markdown/config.rb, line 14 def with(options = {}) @inline_options = options result = yield @inline_options = {} result end