Class: BlueCloth::Transform::RenderState
- Inherits:
-
Struct
- Object
- Struct
- BlueCloth::Transform::RenderState
- Defined in:
- lib/bluecloth/transform.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)
-
- (Object) html_blocks
Returns the value of attribute html_blocks.
-
- (Object) log
Returns the value of attribute log.
-
- (Object) titles
Returns the value of attribute titles.
-
- (Object) urls
Returns the value of attribute urls.
Instance Attribute Details
- (Object) html_blocks
Returns the value of attribute html_blocks
77 78 79 |
# File 'lib/bluecloth/transform.rb', line 77 def html_blocks @html_blocks end |
- (Object) log
Returns the value of attribute log
77 78 79 |
# File 'lib/bluecloth/transform.rb', line 77 def log @log end |
- (Object) titles
Returns the value of attribute titles
77 78 79 |
# File 'lib/bluecloth/transform.rb', line 77 def titles @titles end |
- (Object) urls
Returns the value of attribute urls
77 78 79 |
# File 'lib/bluecloth/transform.rb', line 77 def urls @urls end |