On 2008-11-05, at 14:42, David Chelimsky wrote:
The problem is there is no Singleton Class for 1, probably an
efficiency in Ruby since 1 is, itself, a Singleton.

All of these frameworks try to manipulate methods on the object's
singleton class. So no mocking/stubbing on Fixnums. Apparently.

Not much help - sorry.

That was a good explanation. Thanks, mate. At least now I know not to chase this path any further!
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to