Persistent storage in ruby

Hi,

Python has a shelve object for persistent storage what’s the equivalent
object/gem in ruby?

Lb

There’s a few built-in options, such as PStore (which is very slow)
http://ruby-doc.org/stdlib/libdoc/pstore/rdoc/classes/PStore.html and
DBM:
http://ruby.activeventure.com/manual/man-1.4/dbm.html

Or maybe you’re simply looking for Marshal? It lets you dump almost
any Ruby object to a file.

http://www.ruby-doc.org/core/classes/Marshal.html

– Matma R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs