Wrote `getproperty()` and `setproperty!()` for the Animal type
This allows us to get rid of the annoying `animal.traits["traitname"]` syntax and replace it with the much simpler `animal.traitname`.
Loading
Please register or sign in to comment
This allows us to get rid of the annoying `animal.traits["traitname"]` syntax and replace it with the much simpler `animal.traitname`.