class AoBane::Parser::RenderState
Rendering state class Keeps track of URLs, titles, and HTML blocks midway through a render. I prefer this to the globals of the Perl version because globals make me break out in hives. Or something.
Constants
- Header
Headers struct.
Attributes
block_transform_depth[RW]
footnotes[RW]
AoBane
Extension
found_footnote_ids[RW]
AoBane
Extension
header_id_type[RW]
headers[RW]
html_blocks[RW]
from Original BlueCloth
log[RW]
from Original BlueCloth
numbering[RW]
numbering?[RW]
numbering_start_level[RW]
titles[RW]
from Original BlueCloth
urls[RW]
from Original BlueCloth
warnings[RW]
AoBane
Extension
Public Class Methods
new()
click to toggle source
# File lib/AoBane.rb, line 413 def initialize @urls, @titles, @html_blocks = {}, {}, {} @log = nil @footnotes, @found_footnote_ids, @warnings = {}, [], [] @headers = [] @block_transform_depth = 0 @header_id_type = HeaderIDType::MD5 @numbering = false @numbering_start_level = 2 end