2,875
edits
No edit summary |
No edit summary |
||
Line 168: | Line 168: | ||
function funlist:concat(tbl) | function funlist:concat(tbl) | ||
assert(type(tbl) == 'table') | assert(type(tbl) == 'table') | ||
for | for _, v in pairs(tbl) do | ||
self.mytable | table.insert(self.mytable, v) | ||
end | end | ||
return self | return self | ||
end | |||
function funlist:merge(tbl) | |||
assert(type(tbl) == 'table') | |||
for k, v in pairs(tbl) do | |||
self.mytable[k] = v | |||
end | |||
return self | |||
end | end | ||
edits