Issue #8382 has been updated by marcandre (Marc-Andre Lafortune).
Status changed from Assigned to Closed
This has (finally) been fixed, thanks for opening the issue.
----------------------------------------
Feature #8382: Format OpenStruct YAML dump and create getters and setters after load.
https://bugs.ruby-lang.org/issues/8382#change-89243
* Author: pietro (Pietro Monteiro)
* Status: Closed
* Priority: Normal
* Assignee: marcandre (Marc-Andre Lafortune)
----------------------------------------
=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
---Files--------------------------------
ostruct_yaml.patch (1.98 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>