diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 20:06:33 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 20:06:37 -0700 |
| commit | 63a19db0dc817d2929d8ef4bf12a15d5e9dbd015 (patch) | |
| tree | f0067a6fabf270bfdc65ee742d1f1ad80ff57ba9 /nomsu_tree.moon | |
| parent | b0997a7dbffb636b8209055ed788fe1360aef25d (diff) | |
Working version.
Diffstat (limited to 'nomsu_tree.moon')
| -rw-r--r-- | nomsu_tree.moon | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon index 315571a..89d51c4 100644 --- a/nomsu_tree.moon +++ b/nomsu_tree.moon @@ -37,6 +37,7 @@ Tree = (name, methods)-> __call: (source, ...)=> if type(source) == 'string' source = Source\from_string(source) + for i=1,select('#', ...) do assert(select(i,...)) assert(Source\is_instance(source)) inst = {:source, ...} setmetatable(inst, @) |
