Changed lume.clear() to return the table, updated doc & tests

This commit is contained in:
rxi
2015-02-08 15:12:57 +00:00
parent 0a84bcd0d6
commit d2b26fa681
3 changed files with 4 additions and 1 deletions

View File

@@ -180,6 +180,7 @@ function lume.clear(t)
for k, v in iter(t) do
t[k] = nil
end
return t
end