Method: Moneta::Config::ClassMethods#config_struct
- Defined in:
- lib/moneta/config.rb
#config_struct ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
48 49 50 51 52 53 54 55 |
# File 'lib/moneta/config.rb', line 48 def config_struct unless @config_struct keys = config_defaults.keys @config_struct = Struct.new(*keys) unless keys.empty? end @config_struct end |