Class: Markover::Config
- Inherits:
-
Object
- Object
- Markover::Config
- Defined in:
- lib/markover/config.rb
Overview
Class that keeps the config parameters
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#files ⇒ Object
Returns the value of attribute files.
-
#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.
-
#table_of_contents ⇒ Object
Returns the value of attribute table_of_contents.
-
#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
19 20 21 22 23 24 25 26 |
# File 'lib/markover/config.rb', line 19 def initialize @recursive = false @merge = false @debug = false @page_numbers = false @table_of_contents = false @remove_front_matter = false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
7 8 9 |
# File 'lib/markover/config.rb', line 7 def debug @debug end |
#files ⇒ Object
Returns the value of attribute files.
7 8 9 |
# File 'lib/markover/config.rb', line 7 def files @files end |
#merge ⇒ Object
Returns the value of attribute merge.
7 8 9 |
# File 'lib/markover/config.rb', line 7 def merge @merge end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
7 8 9 |
# File 'lib/markover/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/markover/config.rb', line 7 def output_filename @output_filename end |
#recursive ⇒ Object
Returns the value of attribute recursive.
7 8 9 |
# File 'lib/markover/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/markover/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/markover/config.rb', line 7 def stylesheet @stylesheet end |
#table_of_contents ⇒ Object
Returns the value of attribute table_of_contents.
7 8 9 |
# File 'lib/markover/config.rb', line 7 def table_of_contents @table_of_contents end |
#wkhtmltopdf_parameters ⇒ Object
Returns the value of attribute wkhtmltopdf_parameters.
7 8 9 |
# File 'lib/markover/config.rb', line 7 def wkhtmltopdf_parameters @wkhtmltopdf_parameters end |