Fix typo
This commit is contained in:
parent
73d6c89676
commit
c810683410
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue