Class: Grandfather::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/grandfather/config.rb

Overview

Class for config params

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#fileObject

Returns the value of attribute file.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def file
  @file
end

#output_dirObject

Returns the value of attribute output_dir.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def output_dir
  @output_dir
end

#output_filenameObject

Returns the value of attribute output_filename.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def output_filename
  @output_filename
end

#recursiveObject

Returns the value of attribute recursive.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def recursive
  @recursive
end

#stylesheetObject

Returns the value of attribute stylesheet.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def stylesheet
  @stylesheet
end

#wkhtmltopdf_parametersObject

Returns the value of attribute wkhtmltopdf_parameters.



7
8
9
# File 'lib/grandfather/config.rb', line 7

def wkhtmltopdf_parameters
  @wkhtmltopdf_parameters
end