Class: XLSXToHTML::Configuration
- Inherits:
-
Object
- Object
- XLSXToHTML::Configuration
- Defined in:
- lib/xlsx_to_html/configuration.rb
Constant Summary collapse
- BOOLEAN_METHODS =
%i[common_template without_headers dynamic_headers_row].freeze
Instance Attribute Summary collapse
-
#headers_template ⇒ Object
Returns the value of attribute headers_template.
-
#rows_template ⇒ Object
Returns the value of attribute rows_template.
-
#template ⇒ Object
Returns the value of attribute template.
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 14 15 |
# File 'lib/xlsx_to_html/configuration.rb', line 8 def initialize @template = get_template_path('default') @headers_template = get_template_path('default_headers') @rows_template = get_template_path('default_rows') @common_template = true @without_headers = false @dynamic_headers_row = false end |
Instance Attribute Details
#headers_template ⇒ Object
Returns the value of attribute headers_template.
3 4 5 |
# File 'lib/xlsx_to_html/configuration.rb', line 3 def headers_template @headers_template end |
#rows_template ⇒ Object
Returns the value of attribute rows_template.
3 4 5 |
# File 'lib/xlsx_to_html/configuration.rb', line 3 def rows_template @rows_template end |
#template ⇒ Object
Returns the value of attribute template.
3 4 5 |
# File 'lib/xlsx_to_html/configuration.rb', line 3 def template @template end |