Class: Gimli::Config
- Inherits:
-
Object
- Object
- Gimli::Config
- Defined in:
- lib/gimli/config.rb
Overview
Class that keeps the config parameters
Instance Attribute Summary collapse
-
#cover ⇒ Object
Returns the value of attribute cover.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#file ⇒ Object
Returns the value of attribute file.
-
#merge ⇒ Object
Returns the value of attribute merge.
-
#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.
-
#remove_front_matter ⇒ Object
Returns the value of attribute remove_front_matter.
-
#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
Sets default values.
Constructor Details
#initialize ⇒ Config
Sets default values
10 11 12 13 14 15 16 17 |
# File 'lib/gimli/config.rb', line 10 def initialize @recursive = false @merge = false @debug = false @page_numbers = false @table_of_contents = false @remove_front_matter = false end |
Instance Attribute Details
#cover ⇒ Object
Returns the value of attribute cover.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def cover @cover end |
#debug ⇒ Object
Returns the value of attribute debug.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def debug @debug end |
#file ⇒ Object
Returns the value of attribute file.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def file @file end |
#merge ⇒ Object
Returns the value of attribute merge.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def merge @merge end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
7 8 9 |
# File 'lib/gimli/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/gimli/config.rb', line 7 def output_filename @output_filename end |
#recursive ⇒ Object
Returns the value of attribute recursive.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def recursive @recursive end |
#remove_front_matter ⇒ Object
Returns the value of attribute remove_front_matter.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def remove_front_matter @remove_front_matter end |
#stylesheet ⇒ Object
Returns the value of attribute stylesheet.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def stylesheet @stylesheet end |
#wkhtmltopdf_parameters ⇒ Object
Returns the value of attribute wkhtmltopdf_parameters.
7 8 9 |
# File 'lib/gimli/config.rb', line 7 def wkhtmltopdf_parameters @wkhtmltopdf_parameters end |