RubyFlow The Ruby and Rails community linklog

Konf - Simple Configuration Reader

Simple configuration reader: Konf. There are many like it, but this one is mine.

Comments

So your example isn’t correct because it is leaving out the admin node. Also this problem has already been solved since all you are doing is converting a nested hash (the result of the yaml parsing) to an OpenStruct. Check out Why the Lucky Stiff’s answer at the end of this ruby quiz: http://rubyquiz.com/quiz81.html

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in