codenamer.luau/examples/simple.luau

9 lines
290 B
Text
Raw Normal View History

2023-08-15 13:03:32 +01:00
local Codenamer = require("../dist/codenamer")
-- Codenamer also allows for optional separators. Here, we tell codenamer to
-- use a space instead of `_`, which is the default separator for words.
local codename = Codenamer.new()
:get_codename(" ")
print("got codename: ", codename)