diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-02 15:53:45 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-02 15:53:45 +0200 |
commit | 0e0cff0f27eb76e84fd2226396f16bb52fe754bd (patch) | |
tree | f792eb58328cd6458a3d78ff5967e22e631960ba /CONTRIBUTING.md | |
parent | 6eb978234cdce57e75c36a096fa76a634705c7c8 (diff) | |
download | rails-0e0cff0f27eb76e84fd2226396f16bb52fe754bd.tar.gz rails-0e0cff0f27eb76e84fd2226396f16bb52fe754bd.tar.bz2 rails-0e0cff0f27eb76e84fd2226396f16bb52fe754bd.zip |
Replace implicit formats with a case statement.
The coder that Psych passes in has a `tag` method we can use to detect
which serialization format we're reviving for. Use it and make it clearer
alongside the `load_tags` fiddling.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions