avdi / naught

A toolkit for building Null Object classes in Ruby
MIT License
1.05k stars 53 forks source link

Let the builder make its own decisions #14

Closed mdespuits closed 11 years ago

mdespuits commented 11 years ago

Instead of asking for information about the builder and then making a decision, let the builder handle that decision itself when generating the null object.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling fc3473b66f27a82681fda793d5138426764e743e on mattdbridges:tell-dont-ask into 0ad43baa0263006cc267d4c97497e3fcb1d01db9 on avdi:master.

avdi commented 11 years ago

I'd been thinking about doing this. Thanks!