Commits

Bart van Strien  committed eb9193a

Add common.instance

  • Participants
  • Parent commits 81179ab

Comments (0)

Files changed (1)

 		prototype.__init__ = prototype.init
 		return class_generator(name, {superclass}, prototype)
 	end
+
+	function common.instance(class, ...)
+		return class(...)
+	end
 end