mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Tweak module function name
This commit is contained in:
parent
3ccb31d918
commit
9311edc7d8
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ print("Hello, lune! 🌙")
|
|||
]==]
|
||||
|
||||
local module = require(".lune/module")
|
||||
module.hello()
|
||||
module.sayHello()
|
||||
|
||||
--[==[
|
||||
EXAMPLE #2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local module = {}
|
||||
|
||||
function module.hello()
|
||||
function module.sayHello()
|
||||
print("\nHello from a module! 🧩")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue