Codebase list lua-ldoc / 028b86b2-9dd0-40cb-927d-0c882722f6e4/main tests / styles / one.lua
028b86b2-9dd0-40cb-927d-0c882722f6e4/main

Tree @028b86b2-9dd0-40cb-927d-0c882722f6e4/main (Download .tar.gz)

one.lua @028b86b2-9dd0-40cb-927d-0c882722f6e4/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