Closed sccolbert closed 10 years ago
This pattern:
value << getattr(model, trait_desc.name) value :: setattr(model, trait_desc.name, self.value)
is equivalent to this:
value := getattr(model, trait_desc.name)
The standard inverter will invert getattr to setattr automatically. Just fyi.
Thanks. That'll save a bit of code.
I am reopening this issue until #9 is merged into master, as soon as the testing framework is setup.
Just merge #9, it's trivial.
This pattern:
is equivalent to this:
The standard inverter will invert getattr to setattr automatically. Just fyi.