zuzu-rust 0.4.0

Rust implementation of ZuzuScript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
from test/more import *;
requires_capability( "fs" );

from std/data/ini import *;
from std/io import Path;

let ini := new INI( pretty: true, canonical: true );
let path := Path.tempfile();
ini.dump( path, { "": { project: "zuzu" }, app: { name: "writer" } } );
is( ini.load(path){app}{name}, "writer", "INI.load reads INI from Path" );
like( path.slurp_utf8(), /\[app\]\nname = "writer"/, "INI.dump writes INI to file" );

done_testing();