jnunemaker edited this page Nov 16, 2012 · 7 revisions

Adapter provides a simple way to adapt a client to a shared interface -- read, write, delete, and clear.

gem install adapter

Creating and Understanding Adapters

Existing Adapters

A simple memory adapter (ruby hash) is included in the adapter gem. There are also several other adapters that exist in the wild:


  • Ruby 1.8.7 and Ruby 1.9.3 (specs are run against each before releases)