# File lib/cucumber/formatter/pdf.rb, line 175 def before_doc_string(string) return if @hide_this_step s = %{"""\n#{string}\n"""}.indent(10) s = s.split("\n").map{|l| l =~ /^\s+$/ ? '' : l} s.each do |line| keep_with { @doc.text(line, :size => 8) } end end