class Proforma::PrawnRenderer::SeparatorRenderer

This class understands how to ender a Proforma::Modeling::Separator component.

Constants

WIDTH

Public Instance Methods

render(_separator) click to toggle source
# File lib/proforma/prawn_renderer/separator_renderer.rb, line 20
def render(_separator)
  pdf.line_width(WIDTH)
  pdf.stroke_horizontal_rule
  pdf.move_down(5)
end