wie setze ich die Margen Garnelen in ruby?

Dies ist, was ich habe, so weit, aber ich brauche, um die Margen:

def send_fax 
    contact = Contact.find_by_id(self.contact_id)

    pdf = Prawn::Document.new
    pdf.font "Times-Roman"
    pdf.move_down(20)
    pdf.text "ATTN: #{contact.first_name} #{contact.last_name}", :size => , :style => :bold
    pdf.text "RE: #{self.subject}"
    pdf.move_down(20)

    pdf.text "#{self.body}"

    OutboundMailer.deliver_fax_email(contact, self, pdf)

  end

InformationsquelleAutor der Frage Angela | 2011-01-05

Schreibe einen Kommentar