Class: RailsExcelReporter::Configuration
- Inherits:
-
Object
- Object
- RailsExcelReporter::Configuration
- Defined in:
- lib/rails_excel_reporter/configuration.rb
Instance Attribute Summary collapse
-
#date_format ⇒ Object
Returns the value of attribute date_format.
-
#default_styles ⇒ Object
Returns the value of attribute default_styles.
-
#streaming_threshold ⇒ Object
Returns the value of attribute streaming_threshold.
-
#temp_directory ⇒ Object
Returns the value of attribute temp_directory.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/rails_excel_reporter/configuration.rb', line 5 def initialize @default_styles = default_style_config @date_format = '%Y-%m-%d' @streaming_threshold = 1000 @temp_directory = nil end |
Instance Attribute Details
#date_format ⇒ Object
Returns the value of attribute date_format.
3 4 5 |
# File 'lib/rails_excel_reporter/configuration.rb', line 3 def date_format @date_format end |
#default_styles ⇒ Object
Returns the value of attribute default_styles.
3 4 5 |
# File 'lib/rails_excel_reporter/configuration.rb', line 3 def default_styles @default_styles end |
#streaming_threshold ⇒ Object
Returns the value of attribute streaming_threshold.
3 4 5 |
# File 'lib/rails_excel_reporter/configuration.rb', line 3 def streaming_threshold @streaming_threshold end |
#temp_directory ⇒ Object
Returns the value of attribute temp_directory.
3 4 5 |
# File 'lib/rails_excel_reporter/configuration.rb', line 3 def temp_directory @temp_directory end |