aboutsummaryrefslogtreecommitdiff
path: root/utils.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-13 16:16:07 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-13 16:16:07 -0700
commitd13bcde2b9306e0c87b055faed88da76bd3ff41e (patch)
tree4c9e974d8e448adb6f6c1ba232b4114137aba4cc /utils.lua
parent7435b61380054307148ec2c3a6af6d7ef9187fbe (diff)
Renamed repr_if_not_string to "stringify" and added nomsu:stringify for
convenience.
Diffstat (limited to 'utils.lua')
-rw-r--r--utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.lua b/utils.lua
index 2f6f25a..e8fca96 100644
--- a/utils.lua
+++ b/utils.lua
@@ -73,7 +73,7 @@ utils = {
return tostring(x)
end
end,
- repr_if_not_string = function(x)
+ stringify = function(x)
if type(x) == 'string' then
return x
else