[rspec-users] Order guarantees of let
rick.denatale at gmail.com
Tue Aug 10 10:08:48 EDT 2010
On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky <dchelimsky at 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.
More information about the rspec-users