Sha256: f75e63a0756007d3f4ca5a459ba7a2b13e9bf478eedcb6d87bdbd04c019bbb62

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

inireader
=========

Because, sadly, not every configuration file is in yml.

Seriously barebones ini reader. It doesn't do much and is not robust or that trustworthy.
That having been said, nothing else was really suiting my needs.

Reads from:

    [section]
    key1=val1
    key2=val2
    key1=val3

    [section2]
    ;I am a comment. I can do anything here
    key1=key2=val1
    key3=val2

To:

    {
      section: {
        key1: 'val3',
        key2: 'val2'
      },
      section2: {
        key1: 'key2-val1'
        key3: 'val2'
      }
    }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inireader-0.1.2 README.md
inireader-0.1.1 README.md
inireader-0.0.1 README.md