Class: Bread::Basket::Poster::BlockRenderer
- Inherits:
-
TextRenderer
- Object
- Redcarpet::Render::Base
- TextRenderer
- Bread::Basket::Poster::BlockRenderer
- Defined in:
- lib/bread/basket/poster/block_renderer.rb
Instance Attribute Summary collapse
-
#layout ⇒ Object
readonly
Returns the value of attribute layout.
-
#pdf ⇒ Object
readonly
Returns the value of attribute pdf.
Attributes inherited from TextRenderer
Instance Method Summary collapse
-
#header(_text, _header_level) ⇒ Object
create pdf bounding box.
Methods inherited from TextRenderer
#alignment, #block_code, #double_emphasis, #emphasis, #highlight, #paragraph, #preprocess, #superscript, #underline
Instance Attribute Details
#layout ⇒ Object (readonly)
Returns the value of attribute layout.
5 6 7 |
# File 'lib/bread/basket/poster/block_renderer.rb', line 5 def layout @layout end |
#pdf ⇒ Object (readonly)
Returns the value of attribute pdf.
5 6 7 |
# File 'lib/bread/basket/poster/block_renderer.rb', line 5 def pdf @pdf end |
Instance Method Details
#header(_text, _header_level) ⇒ Object
create pdf bounding box
8 9 10 |
# File 'lib/bread/basket/poster/block_renderer.rb', line 8 def header(_text, _header_level) # needs to be scss aware end |