Module: Pdfmonkey

Defined in:
lib/pdfmonkey.rb,
lib/pdfmonkey/adapter.rb,
lib/pdfmonkey/version.rb,
lib/pdfmonkey/document.rb,
lib/pdfmonkey/configuration.rb

Defined Under Namespace

Classes: Adapter, Configuration, Document, Error

Constant Summary collapse

VERSION =
'0.8.1'

Class Method Summary collapse

Class Method Details

.configurationObject



18
19
20
# File 'lib/pdfmonkey/configuration.rb', line 18

def self.configuration
  @configuration ||= Configuration.new
end

.configuration=(config) ⇒ Object



22
23
24
# File 'lib/pdfmonkey/configuration.rb', line 22

def self.configuration=(config)
  @configuration = config
end

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/pdfmonkey/configuration.rb', line 26

def self.configure
  yield configuration
end