dtas.git  about / heads / tags
duct tape audio suite for *nix
blob 3f411bae2b7449f44b2034625c72cd48e71bf9ca 632 bytes (raw)
$ git show v0.2.0:HACKING	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
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.

# COPYRIGHT

Copyright 2013, Eric Wong <normalperson@yhbt.net> and all contributors.\
License: GPLv3 or later <http://www.gnu.org/licenses/gpl-3.0.txt>

git clone git://80x24.org/dtas.git
git clone https://80x24.org/dtas.git