Module:StringBuilder: Revision history

From Melvor Idle

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 April 2024

  • curprev 15:4115:41, 1 April 2024Ricewind talk contribsm 789 bytes +68 Add tostring metafunction
  • curprev 15:3515:35, 1 April 2024Ricewind talk contribs 721 bytes +721 Created page with "local StringBuilder = {} StringBuilder.__index = StringBuilder -- Constructor function StringBuilder.new() local self = setmetatable({}, StringBuilder) self.buffer = {} return self end -- Append method function StringBuilder:append(value) if value then table.insert(self.buffer, tostring(value)) end return self end function StringBuilder:appendLine(value) if value then table.insert(self.buffer, tostring(value)) end table.insert(self.buffer,..."