[ Create a new account ]
Class("Car", { has: { leftRearWheel: { init: new Wheel(), isa: Wheel, is: rw, handles: "*" } }})
to only allow Wheels in the attribute leftRearWheel and to delegate all of Wheel's methods to the leftRearWheel.
In other news:
Get More Comments
Reply
Attribute meta classes 0 Comments More | Login | Reply /