Add yaml serializer to Library, Title, Entry

This commit is contained in:
Leeingnyo
2021-09-09 20:45:47 +09:00
parent 0667f01471
commit 291a340cdd
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@ require "digest"
require "../archive"
class Title
include YAML::Serializable
getter dir : String, parent_id : String, title_ids : Array(String),
entries : Array(Entry), title : String, id : String,
encoded_title : String, mtime : Time, signature : UInt64,