Sha256: b7b55c47e616a4cc8d271edaf57e0130a7bb0d22974ea4342e35f972a618d936

Contents?: true

Size: 870 Bytes

Versions: 1

Compression:

Stored size: 870 Bytes

Contents

# Figtree
## about
A parser and transformer for loading `.ini` files into Ruby dot notation accessible objects. `.ini` is not a standardized format. But the parser and transformer are easy to extend, unlike regex. :)

## performance
A typical `.ini` file takes slightly less than 0.02s to be parsed, transformed, and loaded.

## installation
`gem install figtree`

## usage
    require 'figtree'
    config = Figtree.load_config('spec/support/settings.conf')
    config.common.basic_size_limit
    => 26214400

# development
## installation
`bundle install`

## tests
`rspec spec/`

### TODO
- refactor marked TODO listings in files (mostly refactoring to generic)
- allow indifferent access? (not just dot notation but allow hash access)
- add more unit test coverage to Transformer
- seems like Parslet doesn't have a `TransformFailed` error format, worth adding one?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
figtree-0.0.1 README.md