Skip to content

Commit e2b9589

Browse files
nicobrinkkemperniieani
authored andcommitted
doc(README): correct example referring to 'this' in Human class to work as described (#85)
fixes #84
1 parent 3abbb6e commit e2b9589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ class:Human() {
445445
this eaten push "$food"
446446
447447
# will return a string with the value:
448-
@return:value "$this just ate $food, which is the same as $1"
448+
@return:value "$(this name) just ate $food, which is the same as $1"
449449
}
450450
451451
Human.WhatDidHeEat() {

0 commit comments

Comments
 (0)