class Maildir::Serializer::Base
- Maildir::Serializer::Base
- Reference
- Object
Overview
The Maildir::Serializer::Base class reads & writes data to disk as a string. Other serializers (e.g. Maildir::Serializer::Mail) can extend this class to do some pre- and post-processing of the string.
The Serializer API has two methods: load(path) # => returns data dump(data, path) # => returns number of bytes written
Direct Known Subclasses
Defined in:
serializer/base.crInstance Method Summary
-
#dump(data, path)
XXX
-
#load(path)
Reads the file at path.