I have some classes that will do something based on some conditions . The conditions are sent as parameters to some methods . My questions is related to ruby coding style :
should the conditions be sent as lambdas/blocks , or as some objects that inherit from a condition class ?
which is more efficient in terms of OOP ?
Thanks !