banister/pry-exception_explorer — Issue #22: write a method to generate thread local accessors
Author: banister
Created: 2012-01-15 13:35:42+00:00
State: open
Labels: refactor

`thread_local_accessor :enabled, :wrap_active`

there should be a single hash allocated on `Thread.current`, maybe `Thread.current[:__pry_ee_hash] ||= {}` and setting a thread local accessor is equivalent to: `Thread.current[:__pry_ee_hash][:enabled] = true`