aboutsummaryrefslogtreecommitdiff
path: root/utils.moon
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.moon
parent7435b61380054307148ec2c3a6af6d7ef9187fbe (diff)
Renamed repr_if_not_string to "stringify" and added nomsu:stringify for
convenience.
Diffstat (limited to 'utils.moon')
-rw-r--r--utils.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.moon b/utils.moon
index 87cd5a3..9cceaac 100644
--- a/utils.moon
+++ b/utils.moon
@@ -41,7 +41,7 @@ utils = {
else
tostring(x)
- repr_if_not_string: (x)->
+ stringify: (x)->
if type(x) == 'string' then x
else utils.repr(x)