From: Tony Arcieri Date: 2010-12-01T03:05:35+09:00 Subject: [ANN] stash 0.1.1: work with data structures servers like Redis using Ruby objects --0016e6de044be99013049649080e Content-Type: text/plain; charset=ISO-8859-1 Stash provides a high-level, abstract interface to data structures servers like Redis. Presently Redis is the only server supported, but support is planned for Membase, and potentially Memcache and Kestrel: https://github.com/tarcieri/stash https://rubygems.org/gems/stash Stash lets you work with Redis Strings, Lists, and Hashes not using an arcane set of commands, but just like you would with Ruby Strings, Lists, and Hashes. After configuring Stash, you can retrieve a list using: Stash::List[:foobar] and append to it with: Stash::List[:foobar] << "baz" Both Stash::Lists and Stash::Hashes are Enumerable and respond to all your favorite Ruby Enumerable methods: Stash::List[:foobar].inject(0) { |i, v| i + v } Stash::List[:foobar].empty? -- Tony Arcieri Medioh! A Kudelski Brand --0016e6de044be99013049649080e--