On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky <dchelim...@gmail.com> wrote: >> First of all, what's let! as opposed to let, I can't seem to find it >> via google or the latest draft of the book. > > http://rdoc.info/projects/rspec/rspec-core - search for let and let! > >> >> Second, unless let! is a new method which not only defines the >> memoized method but invokes it > > That's what it is. Sort of. It gets invoked by an implicit before hook which > is added - those get eval'd in the order in which they get defined.
Makes sense. So is it not (going to be) mentioned in the book, it doesn't seem to be in Beta 15.0 supposedly the final beta version. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users