File: classes.lua

package info (click to toggle)
lua-ldoc 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (25 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
----------------------
-- a module containing some classes.
-- @module classes

local _M = {}

---- a useful class.
-- @type Bonzo

_M.Bonzo = class()

--- a method.
-- function one; reference to @{one.md.classes|documentation}
function Bonzo:one()

end

--- a metamethod
-- function __tostring
function Bonzo:__tostring()

end

return M