Phil, > Basically, I wanted to be able to define a custom type by subclassing > Enum and had gotten the idea that this would work: > > ... > > Does anyone have any objection to me patching Enum to make this work? > Will it break your code, or do you have a better suggestion?
I have no problem if you can patch Enum to make this work, provided existing specs pass and it doesn't result in any code breakage. I think it should be possible to subclass every DM Type/Property, and would consider it a bug if it were not possible. -- Dan (dkubb) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
