tenderlove/psych — pull request #53 by eregon (2012-03-23 12:43:22+00:00)
Title: add missing #warn in #init_with for #yaml_initialize deprecation

Hello,
I found the deprecation message when #yaml_initialize is defined (and not #init_with) is never outputed, due to a missing `puts` or `warn`.

By the way, what is the recommended way to be compatible with all YAML implementations for loading (and dumping) custom classes?
Defining both #yaml_initialize and #init_with ? Is there some documentation on this?

In my case, the default Object dumper/loader works fine, except for the `frozen?` status (the loaded object is no more `frozen?`).