summaryrefslogtreecommitdiff
path: root/server-beta/src/core/number.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/number.lua')
-rw-r--r--server-beta/src/core/number.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server-beta/src/core/number.lua b/server-beta/src/core/number.lua
new file mode 100644
index 00000000..acc4436e
--- /dev/null
+++ b/server-beta/src/core/number.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