Method: EasySettings::PathSource#initialize
- Defined in:
- lib/easy-settings/path_source.rb
#initialize(base_path, settings_root: [], separator: "__", converter: :downcase, parse_values: true) ⇒ PathSource
Returns a new instance of PathSource.
6 7 8 9 10 11 12 |
# File 'lib/easy-settings/path_source.rb', line 6 def initialize(base_path, settings_root: [], separator: "__", converter: :downcase, parse_values: true) @base_path = base_path.to_s @settings_root = settings_root @separator = separator @converter = converter @parse_values = parse_values end |