19 lines
304 B
Lua
19 lines
304 B
Lua
|
-- Optional utility module
|
||
|
|
||
|
local utils = {}
|
||
|
|
||
|
function utils.doSomething()
|
||
|
print("Utils module function called")
|
||
|
return true
|
||
|
end
|
||
|
|
||
|
function utils.calculate(a, b)
|
||
|
return {
|
||
|
sum = a + b,
|
||
|
difference = a - b,
|
||
|
product = a * b,
|
||
|
quotient = a / b
|
||
|
}
|
||
|
end
|
||
|
|
||
|
return utils
|