Class: RailsPdfRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/rails/pdf/renderer.rb,
lib/rails/pdf/renderer/error.rb,
lib/rails/pdf/renderer/config.rb,
lib/rails/pdf/renderer/railtie.rb,
lib/rails/pdf/renderer/version.rb,
lib/rails/pdf/renderer/path_helper.rb,
lib/rails/pdf/renderer/action_view_helper.rb,
lib/rails/pdf/renderer/action_controller_helper.rb

Defined Under Namespace

Modules: ActionControllerHelper, ActionViewHelper, PathHelper Classes: Config, Error, RailsPdfRendererRailtie

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.configurationObject



9
10
11
# File 'lib/rails/pdf/renderer.rb', line 9

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

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

Yields:



13
14
15
# File 'lib/rails/pdf/renderer.rb', line 13

def self.configure
  yield configuration
end