Changes
Add post processing hook
function BaseTable:join_rows()
function BaseTable:join_rows()
self._result = table.concat(self._rows, "\n")
end
end
function BaseTable:create_items_post()
function BaseTable:create_items_post()
return
end
function BaseTable:post_process()
return
return
end
end
self:build_rows()
self:build_rows()
self:finish_rows()
self:finish_rows()
self:join_rows()
self:post_process()
return self._result
end
end
return BaseTable
return BaseTable