| Path: | lib/mues/os-extensions/backend.rb (CVS) |
| Last Update: | Sat Aug 18 22:54:10 -0700 2007 |
This file contains the MUES::ObjectStore::Backend class: an abstract base class for ObjectStore storage backends.
Index methods, as named by those passed to the MUES::ObjectStore::Backend::create method, must return a String. They should take no arguments, but need not be implemented in all classes to be stored. If an object does not respond to a method, nil will be used.
require 'mues/os-extensions/backend'
class FooBackend < MUES::ObjectStore::Backend
...
end
ostore = MUES::ObjectStore::create( :backend => 'Foo', ... )
$Id: backend.rb 1206 2004-05-09 21:25:11Z deveiant $
Copyright (c) 2000-2003 The FaerieMUD Consortium. All rights reserved.
This module is free software. You may use, modify, and/or redistribute this software under the terms of the Perl Artistic License. (See language.perl.com/misc/Artistic.html)
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.