Sha256: d3ef8d1f579155cd4b55e601cbe634d4f451a2495cd150f8b1bdc75259846daa
Contents?: true
Size: 404 Bytes
Versions: 26
Compression:
Stored size: 404 Bytes
Contents
require 'multi_json' if !MultiJson.respond_to?(:load) || [ Kernel, defined?(ActiveSupport::Dependencies::Loadable) && ActiveSupport::Dependencies::Loadable ].compact.include?(MultiJson.method(:load).owner) module MultiJson class <<self alias :load :decode end end end if !MultiJson.respond_to?(:dump) module MultiJson class <<self alias :dump :encode end end end
Version data entries
26 entries across 26 versions & 3 rubygems