David Chelimsky wrote: > On Thu, Apr 23, 2009 at 1:56 PM, James Byrne <li...@ruby-forum.com> > wrote: >> for that method before extending Object with my own. If >> Object.respond_to? :metaclass == true then we are in Rails, or some >> other framework that provides the same thing, and so we need not provide >> our own. �Otherwise we add it. >> >> Comments? > > I'd rather always define our own so the results are consistent from > RSpec regardless of other frameworks in the midst. Does that make > sense to you?
Yes. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users