R.2.1 update

This commit is contained in:
FlightControl
2017-04-25 21:44:34 +02:00
parent 1219ee9445
commit 664ce52ff0
3 changed files with 19 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ end
-- @param #REPORT self
-- @param #number Indent
-- @return #REPORT
function REPORT:SetIndent( Indent )
function REPORT:SetIndent( Indent ) --R2.1
self.Indent = Indent
return self
end
@@ -50,7 +50,7 @@ end
-- @param #REPORT self
-- @param #string Text
-- @return #REPORT
function REPORT:AddIndent( Text )
function REPORT:AddIndent( Text ) --R2.1
self.Report[#self.Report+1] = string.rep(" ", self.Indent ) .. Text:gsub("\n","\n"..string.rep( " ", self.Indent ) )
return self
end