0.0
The project is in a healthy, maintained state
A simple thread-local cache store
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

ThreadCache

A simple thread-local cache store

Install

Install it from rubygems.org in your terminal:

gem install thread_cache

Or via Gemfile in your project:

source 'https://rubygems.org'

gem 'thread_cache', '~> 1.1'

Or build and install the gem locally:

gem build thread_cache.gemspec
gem install thread_cache-1.1.0.gem

Require it in your Ruby code and the ThreadCache class will be available:

require 'thread_cache'

Tests

Run tests with:

bundle exec rspec

Linter

Check your code with:

bundle exec rubocop