tenderlove/psych — Issue #44: psych doesn't handle subclasses of String nor Array
Author: Fryguy
Created: 2011-12-15 19:23:15+00:00
State: open

Hash is already handled, but String and Array are not (and perhaps other classes that map to YAML core types). In my system I have subclasses for Hash, String, and Array, so those are the ones I've played with so far.

The two tests below each mirror the ones that are in test_hash.rb. They can probably be copied to all of the other test files, or perhaps made into a mixin for all of the tests.

Failing test_string.rb and test_array.rb patch: https://gist.github.com/1482427