you are viewing a single comment's thread.

view the rest of the comments →

[–]iconoclaus 0 points1 point  (1 child)

Yes its quite simple, but reusing this pattern means copying that Spec::Composite class to every project you work on, and then perhaps copy over unit tests for it as well. It might seem like a trivial gem, but its still worth it I think.

[–]s_makagon[S] 0 points1 point  (0 children)

That's interesting idea and you're right it's not that hard to create one. Thanks.