Tweak module function name

This commit is contained in:
Filip Tibell 2023-01-19 17:57:43 -05:00
parent 3ccb31d918
commit 9311edc7d8
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ print("Hello, lune! 🌙")
]==]
local module = require(".lune/module")
module.hello()
module.sayHello()
--[==[
EXAMPLE #2

View file

@ -1,6 +1,6 @@
local module = {}
function module.hello()
function module.sayHello()
print("\nHello from a module! 🧩")
end