blob: 38ccb2257fdedb7404601d47346ff4f2887f8986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
serialization (dtas-player)
---------------------------
* objects serialize using the "to_hsh" method (like "to_hash", but omits
default values) and then to YAML. We avoid exposing the fact we use
Ruby (or any programming language) in any formats.
* every serializable class defines a "load" singleton method which takes the
output Hash of "to_hsh"
* we avoid serializing default values to make the state file shorter and
more suitable for human viewing and editing.
# CONTACT
We use git(7) and develop dtas on a public mailing list like git
developers do. Please send patches via git-send-email(1) to the public
mailing list at <dtas-all@nongnu.org>. Pull requests should be
formatted using git-request-pull(1).\
Mailing list archives available at <http://80x24.org/dtas-all/> and
<ftp://lists.gnu.org/dtas-all/>\
No subscription is necessary to post to the mailing list.
# COPYRIGHT
Copyright 2013-2015 all contributors <dtas-all@nongnu.org>.\
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|