Codebase list lua-ldoc / e2f4d9d4-8bc2-4dca-9f50-d2e95aaccc5a/main tests / styles / one.lua
e2f4d9d4-8bc2-4dca-9f50-d2e95aaccc5a/main

Tree @e2f4d9d4-8bc2-4dca-9f50-d2e95aaccc5a/main (Download .tar.gz)

one.lua @e2f4d9d4-8bc2-4dca-9f50-d2e95aaccc5a/mainraw · history · blame

--[[
A non-doc comment
multi-line
probably containing license information!
Doesn't use module(), but module name is inferred from file name.
If you have initial licence comments that look like doc comments,
then set `boilerplate=true`
]]
------------
-- Test module,
-- Actual blurb here!
----

local one = {}

--- answer to everything.
function one.answer ()
    return 42
end

return one