Please sign in to comment.
Fix invalid MultiJson API detection (closes #82)
`#load` is defined in Kernel and inherited in every object, thus Object.respond_to?(:load) will always return true. MultiJson switched to load/dump from decode/encode. Thus it's safe to use a single check for both encoding and decoding methods.
- Loading branch information...