Generates an INI-style configuration from a given hash.
Appends INI data to the given IO.
Parses INI-style configuration from the given string.
Generates an INI-style configuration from a given hash.
require "ini" INI.build({"foo" => {"a" => "1"}}, true) # => "[foo]\na = 1\n\n"
Parses INI-style configuration from the given string. Raises a ParseException
on any errors.
require "ini" INI.parse("[foo]\na = 1") # => {"foo" => {"a" => "1"}}
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/INI.html