/ape

NOTE: abandoned experiment -- Asynchronous PErsistence of Ruby Objects

Primary LanguageRuby

Ape

Asynchronous PErsistance for Ruby objects.

Also consider the name Aporo: Asynchronous Persistence Of Ruby Objects.

Possible Syntaxes


  class PersistentArray < Array
    include Ape::AsyncPersistence
    async_persist :Test, "tmp/test.obj"
  end

Or:


  obj = []
  obj.extend(WithAsyncPersistence)

Or:


  obj = []
  obj.extend(WithAsyncPersistence("obj_filename"))