Codebase list lua-ldoc / debian/1.4.3-3 tests / styles / one.lua
debian/1.4.3-3

Tree @debian/1.4.3-3 (Download .tar.gz)

one.lua @debian/1.4.3-3raw · 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