logica (rubygems): Logica is a framework to reify and work with predicates.
Keywords: conditions|filters|logic|predicates|ruby|specification