From c74c8a1d017df5c54fb3f5c656c61c0301ab8b00 Mon Sep 17 00:00:00 2001 From: Compey Date: Sat, 19 Aug 2023 20:49:10 +0530 Subject: [PATCH] chore(examples): include tostring example --- examples/tostring.luau | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/tostring.luau diff --git a/examples/tostring.luau b/examples/tostring.luau new file mode 100644 index 0000000..5a52d1d --- /dev/null +++ b/examples/tostring.luau @@ -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))