Quick Tip: Parsing a Config String in Ruby


Recently I came across the need to parse a bit of a config file, in this kind of format: “Category=filetype;…” Here is how one would do such a thing using split, inject and map.

Read More