From: "marcandre (Marc-Andre Lafortune)" Date: 2013-05-10T05:35:42+09:00 Subject: [ruby-core:54895] [ruby-trunk - Feature #8382] Format OpenStruct YAML dump and create getters and setters after load. Issue #8382 has been updated by marcandre (Marc-Andre Lafortune). Category set to lib Assignee set to marcandre (Marc-Andre Lafortune) Interesting feature request. This reasoning would also apply to all stdlib classes, like Set, Matrix, ... right? I'm not sure it's a big issue, but a patch like this would make yaml serialization both backwards and forwards incompatible. It would be easy to make it at least backwards compatible. ---------------------------------------- Feature #8382: Format OpenStruct YAML dump and create getters and setters after load. https://bugs.ruby-lang.org/issues/8382#change-39234 Author: pietro (Pietro Monteiro) Status: Open Priority: Normal Assignee: marcandre (Marc-Andre Lafortune) Category: lib Target version: =begin Currently Open Struct doesn't format it's YAML output exposing ((|@table|)). It also doesn't create setters and getter like (({#marshal_load})). This patch does both. =end -- http://bugs.ruby-lang.org/