Class: BlueCloth::RenderState
- Inherits:
-
Struct
- Object
- Struct
- BlueCloth::RenderState
- Defined in:
- lib/bluecloth_tweaked.rb
Overview
Rendering state struct. 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.
Instance Attribute Summary collapse
-
#html_blocks ⇒ Object
Returns the value of attribute html_blocks.
-
#log ⇒ Object
Returns the value of attribute log.
-
#titles ⇒ Object
Returns the value of attribute titles.
-
#urls ⇒ Object
Returns the value of attribute urls.
Instance Attribute Details
#html_blocks ⇒ Object
Returns the value of attribute html_blocks
100 101 102 |
# File 'lib/bluecloth_tweaked.rb', line 100 def html_blocks @html_blocks end |
#log ⇒ Object
Returns the value of attribute log
100 101 102 |
# File 'lib/bluecloth_tweaked.rb', line 100 def log @log end |
#titles ⇒ Object
Returns the value of attribute titles
100 101 102 |
# File 'lib/bluecloth_tweaked.rb', line 100 def titles @titles end |
#urls ⇒ Object
Returns the value of attribute urls
100 101 102 |
# File 'lib/bluecloth_tweaked.rb', line 100 def urls @urls end |