Skip to content

Commit 243f231

Browse files
author
James Brundage
committed
feat: Turtle.get/set_Steps ( Fixes #8 )
1 parent 58b3339 commit 243f231

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Types/Turtle/get_Steps.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
if ($this.'.Steps') {
2+
return $this.'.Steps'
3+
}
4+
return @()

Types/Turtle/set_Steps.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
param(
2+
[string[]]
3+
$Steps
4+
)
5+
6+
$this | Add-Member -MemberType NoteProperty -Force -Name '.Steps' -Value $Steps

0 commit comments

Comments
 (0)