Module: Prawnto::ActionController::ClassMethods

Defined in:
lib/prawnto/action_controller.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) prawnto(options)



11
12
13
14
15
# File 'lib/prawnto/action_controller.rb', line 11

def prawnto(options)
  prawn_options, prawnto_options = breakdown_prawnto_options options
  write_inheritable_hash(:prawn, prawn_options)
  write_inheritable_hash(:prawnto, prawnto_options)
end