Module: PdfRenderer::Helpers::ClassMethods
- Defined in:
- lib/pdf_renderer/helpers.rb
Instance Method Summary collapse
-
#helper(*helpers) ⇒ Object
Class-level method that declares
helpersas helpers for inclusion in the view.
Instance Method Details
#helper(*helpers) ⇒ Object
Class-level method that declares helpers as helpers for inclusion in the view. Specify the helpers as :symbol, 'string', or ConstantName.
14 15 16 |
# File 'lib/pdf_renderer/helpers.rb', line 14 def helper(*helpers) write_inheritable_array :helpers, helpers end |