class Yorinter::ErbToPdfEngine

Public Instance Methods

render() click to toggle source
# File lib/yorinter/pdf_engine.rb, line 19
def render
  html = ErbEngine.new(@document, @params, @options).render
  @engine.pdf_from_string(html, document_options)
end