diff --git a/content/oop.md b/content/oop.md index 7a0586b..2f263c9 100644 --- a/content/oop.md +++ b/content/oop.md @@ -17,7 +17,7 @@ method ageHumanYrs(this: Animal): int = this.age type Dog = ref object of Animal method vocalize(this: Dog): string = "woof" -method ageHummanYrs(this: Dog): int = this.age * 7 +method ageHumanYrs(this: Dog): int = this.age * 7 type Cat = ref object of Animal method vocalize(this: Cat): string = "meow" diff --git a/content/oop_macro.md b/content/oop_macro.md index 11f5281..ccf5f1f 100644 --- a/content/oop_macro.md +++ b/content/oop_macro.md @@ -15,7 +15,7 @@ method ageHumanYrs(this: Animal): int = this.age type Dog = ref object of Animal method vocalize(this: Dog): string = "woof" -method ageHummanYrs(this: Dog): int = this.age * 7 +method ageHumanYrs(this: Dog): int = this.age * 7 type Cat = ref object of Animal method vocalize(this: Cat): string = "meow"