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