Module: ConfigSL::ToHash
- Included in:
- Config
- Defined in:
- lib/configsl/to_hash.rb
Overview
Converts a configuration value to a hash structure.
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
6 7 8 |
# File 'lib/configsl/to_hash.rb', line 6 def to_h configsl_params.to_h { |k, v| [k, configsl_serialize_value(v)] } end |