Skip to content

Commit c939f7c

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.ToString() ( Fixes #88 )
1 parent 081f5b6 commit c939f7c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Turtle.types.ps1xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,14 @@ return $this.LSystem('F', [Ordered]@{
11101110

11111111
</Script>
11121112
</ScriptMethod>
1113+
<ScriptMethod>
1114+
<Name>ToString</Name>
1115+
<Script>
1116+
param()
1117+
1118+
return "$($this.SVG.OuterXml)"
1119+
</Script>
1120+
</ScriptMethod>
11131121
<ScriptMethod>
11141122
<Name>TwinDragonCurve</Name>
11151123
<Script>

0 commit comments

Comments
 (0)