How can I create a "Class" in Io language?
For example, I want to try the following:
Dog pd
barry := Dog new("Barry")
barry pd
barry name println // Attribute of the class
barry allFoodItemsEaten println // Attribute of the class
lisa := Dog new("Lisa")
barry feed(12) // A Method
lisa feedSummary // A Method
I know there are no classes in Io but I want to implement one. Any suggestions of how to implement that?