avdi / naught

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

add example option to mimic #42 #57

Closed moktin closed 10 years ago

moktin commented 10 years ago

I am not sure why the travis failed...

sferik commented 10 years ago

@moktin The build failures are related to a new release of RuboCop—not your fault. I’ve addressed the issue in https://github.com/avdi/naught/commit/90e6483b5572b1537e037b95a8b5a028dcf9063c.

sferik commented 10 years ago

This new feature looks good to me but I’ll leave it up to @avdi to review and merge.

avdi commented 10 years ago

Thanks, I've merged it. I then tweaked the API a little bit so that we can use :example alone, without a class.