Remove too much checking

This commit is contained in:
sanemat 2012-10-13 15:43:52 +09:00
parent f9ccc6efdf
commit 6e40390d26
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ gem 'multi_json', '>= 1.0.0'
require 'multi_json'
if !MultiJson.respond_to?(:load) || [
defined?(Kernel) && Kernel,
Kernel,
defined?(ActiveSupport::Dependencies::Loadable) && ActiveSupport::Dependencies::Loadable
].compact.include?(MultiJson.method(:load).owner)
module MultiJson