mirror of
https://github.com/CompeyDev/codenamer.luau.git
synced 2025-05-04 10:13:46 +01:00
chore(examples): include tostring example
This commit is contained in:
parent
d3c62aaccc
commit
c74c8a1d01
1 changed files with 9 additions and 0 deletions
9
examples/tostring.luau
Normal file
9
examples/tostring.luau
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
local Codenamer = require("../dist/codenamer")
|
||||||
|
|
||||||
|
local codenamer = Codenamer.new()
|
||||||
|
|
||||||
|
print("I have a codenamer instance of type:", tostring(codenamer))
|
||||||
|
|
||||||
|
codenamer:with_dictionary({ "this", "is", "a", "custom", "dictionary" })
|
||||||
|
|
||||||
|
print("With a custom dictionary provided, the instance is now of type: ", tostring(codenamer))
|
Loading…
Add table
Reference in a new issue