Set the stream where the report will be written to. STDOUT by default.
# File lib/protest/reports/stories/pdf.rb, line 17 def initialize(stream=STDOUT) @stream = stream end
# File lib/protest/reports/stories/pdf.rb, line 21 def render_header(pdf) end
# File lib/protest/reports/stories/pdf.rb, line 24 def render_many(pdf, elements) elements.each do |el| pdf.text el.to_s end end