It creates a memoized function of the symbol name containing the value. On Thu, Nov 5, 2015 at 12:23 AM, wrote: > Issue #11656 has been updated by Nobuyoshi Nakada. > > File bug-11656.log added > Description updated > Assignee set to Koichi Sasada > > What does `let` do? > > ---------------------------------------- > Bug #11656: ruby crashes when running rspec from top level context, but > not from the individual spec that is causing ruby to crash > https://bugs.ruby-lang.org/issues/11656#change-54715 > > * Author: Daniel Greenberg > * Status: Open > * Priority: Normal > * Assignee: Koichi Sasada > * ruby -v: ruby-2.2.3 > * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN > ---------------------------------------- > /Users/dgreenbe77/Development/frederick_gem/lib/frederick/models/model.rb > ./spec/lib/frederick/models/model_spec.rb > > > > ---Files-------------------------------- > model.rb (3.18 KB) > model_spec.rb (4.2 KB) > bug-11656.log (74.5 KB) > > > -- > https://bugs.ruby-lang.org/ > -- Austin Ziegler • halostatue@gmail.com • austin@halostatue.ca http://www.halostatue.ca/ • http://twitter.com/halostatue