Class: RailsExcelReporter::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_excel_reporter/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_formatObject

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_stylesObject

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_thresholdObject

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_directoryObject

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