Class: Grover::Configuration
Overview
Configuration of the options for Grover HTML to PDF conversion
Instance Attribute Summary collapse
-
#meta_tag_prefix ⇒ Object
Returns the value of attribute meta_tag_prefix.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 |
# File 'lib/grover/configuration.rb', line 8 def initialize @options = { cache: false } @meta_tag_prefix = 'grover-' end |
Instance Attribute Details
#meta_tag_prefix ⇒ Object
Returns the value of attribute meta_tag_prefix.
6 7 8 |
# File 'lib/grover/configuration.rb', line 6 def @meta_tag_prefix end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/grover/configuration.rb', line 6 def @options end |