This is a prototype-based class constructor for Lua in <30 unminified lines (5 when minified to 80-char lines). It was designed to be included in other library projects, especially for inclusion into single files.
It is released to the public domain under the Unlicense, so feel free to use it, even without a disclaimer, I don't really care.
I consider the interface to be quite intuitive, it is explained further inside the demo below.