commit
55e0046386
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ animals.add(Cat(name: "Mitten", age: 10))
|
|||
|
||||
for a in animals:
|
||||
echo a.vocalize()
|
||||
echo a.age_human_yrs()
|
||||
echo a.ageHumanYrs()
|
||||
```
|
||||
``` console
|
||||
$ nimrod c -r oop.nim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue