# File lib/pdf/quickref.rb, line 274 274: def body(text) 275: # Transform the text a little. 276: paras = text.split(%r(#{$/}{2})) 277: paras.map! { |para| para.split($/).join(" ").squeeze(" ") } 278: text = paras.join("\n\n") 279: 280: @pdf.text "#{text}\n", :font_size => @body_font_size, :justification => :full 281: end