An open API service indexing awesome lists of open source software.

https://github.com/sdalu/ruby-ucl

Parser for UCL configuration file
https://github.com/sdalu/ruby-ucl

Last synced: 2 months ago
JSON representation

Parser for UCL configuration file

Awesome Lists containing this project

README

        

This library allows parsing of configuration file in UCL format,
using the [libucl][1] library.

Examples
========

~~~ruby
UCL.flags = UCL::KEY_SYMBOL
UCL.load_file('foo.conf', UCL::KEY_SYMBOL | KEY_LOWERCASE)
UCL.parse(File.read('foo.conf'))
~~~

Supported flags:
* KEY_SYMBOL
* KEY_LOWERCASE
* NO_TIME
* DISABLE_MACRO
* NO_FILEVARS

[1]: https://github.com/vstakhov/libucl