Module: RFPDF::ActionController
- Included in:
- ActionController::Base
- Defined in:
- lib/plugins/rfpdf/lib/rfpdf/action_controller.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
- DEFAULT_RFPDF_OPTIONS =
{:inline=>true}
Class Method Summary (collapse)
Instance Method Summary (collapse)
Class Method Details
+ (Object) included(base)
6 7 8 |
# File 'lib/plugins/rfpdf/lib/rfpdf/action_controller.rb', line 6 def self.included(base) base.extend ClassMethods end |
Instance Method Details
- (Object) rfpdf(options)
24 25 26 27 |
# File 'lib/plugins/rfpdf/lib/rfpdf/action_controller.rb', line 24 def rfpdf() @rfpdf_options ||= DEFAULT_RFPDF_OPTIONS.dup @rfpdf_options.merge! end |