Sha256: 066649db0405e9a360efc23f3817eaf4e697d203f3046cef7b40e89fcc0973cc
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
module SweetTooth module JSON if MultiJson.respond_to?(:dump) def self.dump(*args) MultiJson.dump(*args) end def self.load(*args) MultiJson.load(*args) end else def self.dump(*args) MultiJson.encode(*args) end def self.load(*args) MultiJson.decode(*args) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sweettooth-1.1.0 | lib/sweettooth/json.rb |
sweettooth-1.0.0 | lib/sweettooth/json.rb |