This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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