Class: ActiveReport::Configuration
- Inherits:
-
Object
- Object
- ActiveReport::Configuration
- Defined in:
- lib/active_report/configuration.rb
Instance Attribute Summary collapse
-
#force_encoding ⇒ Object
Returns the value of attribute force_encoding.
-
#options ⇒ Object
Returns the value of attribute options.
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 |
# File 'lib/active_report/configuration.rb', line 5 def initialize @force_encoding = true @options = { encoding: "UTF-8" } end |
Instance Attribute Details
#force_encoding ⇒ Object
Returns the value of attribute force_encoding.
3 4 5 |
# File 'lib/active_report/configuration.rb', line 3 def force_encoding @force_encoding end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/active_report/configuration.rb', line 3 def @options end |