Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,33 @@
class Banana
{
# Properties
[string]$Color
[boolean]$Peeled
# Default constructor
Banana()
{
$This.Color = "Green"
}
# Constructor
Banana( [boolean]$Peeled )
{
$This.Color = "Green"
$This.Peeled = $Peeled
}
# Method
Ripen()
{
If ( $This.Color -eq "Green" ) { $This.Color = "Yellow" }
Else { $This.Color = "Brown" }
}
# Method
[boolean] IsReadyToEat()
{
If ( $This.Color -eq "Yellow" -and $This.Peeled ) { return $True }
Else { return $False }
}
}