Class: Grandfather::Config
- Inherits:
-
Object
- Object
- Grandfather::Config
- Defined in:
- lib/grandfather/config.rb
Overview
Class for config params
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#output_filename ⇒ Object
Returns the value of attribute output_filename.
-
#recursive ⇒ Object
Returns the value of attribute recursive.
-
#stylesheet ⇒ Object
Returns the value of attribute stylesheet.
-
#wkhtmltopdf_parameters ⇒ Object
Returns the value of attribute wkhtmltopdf_parameters.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 12 |
# File 'lib/grandfather/config.rb', line 9 def initialize @output_filename = "Book.pdf" @recursive = false end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def file @file end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def output_dir @output_dir end |
#output_filename ⇒ Object
Returns the value of attribute output_filename.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def output_filename @output_filename end |
#recursive ⇒ Object
Returns the value of attribute recursive.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def recursive @recursive end |
#stylesheet ⇒ Object
Returns the value of attribute stylesheet.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def stylesheet @stylesheet end |
#wkhtmltopdf_parameters ⇒ Object
Returns the value of attribute wkhtmltopdf_parameters.
7 8 9 |
# File 'lib/grandfather/config.rb', line 7 def wkhtmltopdf_parameters @wkhtmltopdf_parameters end |