Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Use nested keys in ConfigParser

#3

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.

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

State: new
Milestone: none
Assigned to: nobody

Activity

  1. bahuvrihi
    bahuvrihi

    What's more, the nested_config method is pretty confusing to use... and easy to miss.

    February 9th, 2009 @ 02:07 PM

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.