Registry / utility / lspace

lspace

JSON →
library0.14rbrubygemsunverified

Provides thread-local and fiber-local variable storage with the convenience of global variables but without safety concerns.

gem install lspace
INSTALL
IMPORT
SIG · LSPACE
L
lspace
utilityrubyv0.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lspace
require 'lspace'

Use Lspace to store thread-local data

require 'lspace' Lspace.with(user: 'alice') do puts Lspace[:user] # => 'alice' end puts Lspace[:user] # => nil
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.14latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lspace — gem install lspace · libregistry