#3 new
bahuvrihi

Use nested keys in ConfigParser

Reported by bahuvrihi | December 12th, 2008 @ 11:09 AM

ConfigParser should get away from the nested, string-based keys that it currently uses. No reason not to have a setup_nested block for nested attributes.


  def setup_nested
    (config[nest] ||= {})[key] = value
  end

This is really essential to get away from the current reliance on IndifferentAccess and ConfigParser.nest.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Class configurations that map to the command line.

People watching this ticket

Pages