Module:Sandbox/MonkeysHK/0

local makeClass = require('Module:Class') local Parent = makeClass('Parent', {	constructor = function(self, n)		self.n = n	end,	add = function(self, j)		return self.n + j	end }) local Main = makeClass('Main', {	parent = Parent,	constructor = function(self, n)		mw.logObject(self)		self:super(n)	end,	add = function(self, j)		return self.n + j*2	end,	add2 = function(self, j)		return self:super.add(j)	end,	add3 = function(self, j)		return self:add(j)	end, }) return Main