Sha256: ec19ccce66deb1315af7a804db8449e21b62b17439b6a00123d92c2c3f475485
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true module ActiveReport class Configuration attr_accessor :csv_force_encoding, :csv_options def initialize @csv_force_encoding = true @csv_options = { encoding: 'UTF-8' } end end def self.configuration @configuration ||= Configuration.new end def self.configuration=(config) @configuration = config end def self.configure yield(configuration) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_report-5.0.1 | lib/active_report/configuration.rb |
active_report-5.0.0 | lib/active_report/configuration.rb |