util.array: Make array:push() chainable.

This commit is contained in:
Waqas Hussain 2011-12-09 11:57:14 +05:00
parent 9e2f76f84b
commit 5cc76d9794

View file

@ -105,6 +105,7 @@ end
function array_methods:push(x)
table.insert(self, x);
return self;
end
function array_methods:pop(x)