LDoc2tl/tests/classes.lua

26 lines
318 B
Lua
Raw Permalink Normal View History

----------------------
-- a module containing some classes.
-- @module classes
local _M = {}
---- a useful class.
-- @type Bonzo
_M.Bonzo = class()
--- a method.
-- function one
function Bonzo:one()
end
--- a metamethod
-- function __tostring
function Bonzo:__tostring()
end
return M