mirror of
https://github.com/lune-org/docs.git
synced 2025-04-04 10:30:55 +01:00
docs: update sandbox snippet in article
This commit is contained in:
parent
eede130035
commit
37d8223b95
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ end
|
||||||
local function constructProtectedMt<T>(library: T)
|
local function constructProtectedMt<T>(library: T)
|
||||||
return {
|
return {
|
||||||
__index = library,
|
__index = library,
|
||||||
|
__metatable = "Locked",
|
||||||
__tostring = function()
|
__tostring = function()
|
||||||
return stdio.format(library)
|
return stdio.format(library)
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Reference in a new issue