Module: Persistence

Extended by:
Object::Autodetermine, Object::Flat::File::FilePersistence, Port::Controller
Defined in:
lib/persistence.rb,
lib/namespaces.rb

Overview

Primary interface for enabling persistence for a given object type.

If object is a Bignum, Fixnum, Complex, Rational, TrueClass, FalseClass, String, Symbol, Regexp, or NilClass then object will include Persistence::Object::Flat.

If object is a File then object will include Persistence::Object::Flat::File.

If object is an Array then object will include Persistence::Object::Complex::Array.

If object is a Hash then object will include Persistence::Object::Complex::Hash.

If object is any other class then object will include Persistence::Object::Complex.

Defined Under Namespace

Modules: Adapter, Exception, Object Classes: Cursor, Port

Method Summary

Methods included from Port::Controller

create_pending_buckets, current_port, disable_port, enable_port, extended, pending_bucket, pending_buckets, port, port_for_name_or_port, ports, set_current_port

Methods included from Object::Autodetermine

extended

Methods included from Object::Flat::File::FilePersistence

persist_files_by_content!, persist_files_by_path!, persists_file_paths_as_strings?, persists_files_by_content?, persists_files_by_path?