xaviershay/rspec-fire — pull request #26 by myronmarston (2012-09-27 05:21:25+00:00)
Title: Subclass Module rather than having a giant builder method.

The old way I implemented `fire_class_double` used `Module.new` with a giant block that defined lots of singleton methods. @avdi's talk at GoGaRuCo inspired me to subclass Module instead.

I find this cleaner, although it is a bit more code.

Thoughts?