This commit is contained in:
flaviut 2014-07-17 16:48:24 -04:00
commit c810683410
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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"