Confy
Reads configuration-like files and makes them Object-like.
Backends
- xml
- json
- yaml
- 'simple' (e.g. x=1)
Examples
# Given an generic conf file:
# name=james\nage=42
Confy.parse("/path/to/person.xyz", :as => "SimpleAssignment").name
# => "james"
# Given an XML file:
# <person><address><city>Birmingham</city></address></perso>
Confy.parse("/path/to/person.xml").person.address.city
# => "Birmingham"