Module: Persistence::Object
- Extended by:
- Autodetermine
- Defined in:
- lib/persistence/object.rb,
lib/namespaces.rb
Overview
Convenience module for extending object of any type with persistence capabilities.
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: Autodetermine, ClassInstance, Complex, Flat, Index, IndexHash, ObjectInstance, ParsePersistenceArgs