Comment Comment by bilalq The problem with interfaces is that you can't implement any operations within them. Traits and modules do allow for that.Regardless, compositition makes more sense for this case anyway. parent bilalq 12 years ago
Regardless, compositition makes more sense for this case anyway.