Class: Bread::Basket::Poster::BlockRenderer

Inherits:
TextRenderer
  • Object
show all
Defined in:
lib/bread/basket/poster/block_renderer.rb

Instance Attribute Summary collapse

Attributes inherited from TextRenderer

#curr_styles

Instance Method Summary collapse

Methods inherited from TextRenderer

#alignment, #block_code, #double_emphasis, #emphasis, #highlight, #paragraph, #preprocess, #superscript, #underline

Instance Attribute Details

#layoutObject (readonly)

Returns the value of attribute layout.



5
6
7
# File 'lib/bread/basket/poster/block_renderer.rb', line 5

def layout
  @layout
end

#pdfObject (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