mustmodify / valuable

quick ruby modeling -- basically attr_accessor with default values, light-weight casting, and a constructor
http://valuable.mustmodify.com/
MIT License
72 stars 3 forks source link

raise exception if someone dumb like me tries to say has_value :attributes ... that's reserved. #17

Open mustmodify opened 9 years ago

mustmodify commented 9 years ago

instance is reserved for valuable. But it might make more sense for that to be __instance__. In any case, determine what methods are reserved and raise an error when trying to create matching attributes.