summaryrefslogtreecommitdiff
path: root/server-beta/src/core/boolean.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/boolean.lua')
-rw-r--r--server-beta/src/core/boolean.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server-beta/src/core/boolean.lua b/server-beta/src/core/boolean.lua
new file mode 100644
index 00000000..acc4436e
--- /dev/null
+++ b/server-beta/src/core/boolean.lua
@@ -0,0 +1,11 @@
+local m = {}
+
+function m:def(source, callback)
+ self:asindex(source, 'def', callback)
+end
+
+function m:ref(source, callback)
+ self:asindex(source, 'ref', callback)
+end
+
+return m