Parent

Methods

Files

PDFKit::Configuration

Attributes

default_options[RW]
meta_tag_prefix[RW]
wkhtmltopdf[RW]

Public Class Methods

new() click to toggle source
# File lib/pdfkit/configuration.rb, line 5
def initialize
  @meta_tag_prefix = 'pdfkit-'
  @wkhtmltopdf = '/usr/local/bin/wkhtmltopdf'
  @default_options = {
    :disable_smart_shrinking => true,
    :page_size => 'Letter',
    :margin_top => '0.75in',
    :margin_right => '0.75in',
    :margin_bottom => '0.75in',
    :margin_left => '0.75in',
    :encoding => "UTF-8"
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.