]> git.openstreetmap.org Git - rails.git/commitdiff
Refactor AMF encodevalue routine
authorTom Hughes <tom@compton.nu>
Wed, 21 Jun 2017 20:20:41 +0000 (21:20 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 21 Jun 2017 20:20:41 +0000 (21:20 +0100)
Simplify the switch, and raise an exception if we see an unexpected
type rather than just logging and then accidentally triggering a odd
error by returning true when a string is expected.


No differences found