Sha256: 9d1683b6a81e346eca0d79342db81937a75a1ad1d7753ece58719331e27c96ba
Contents?: true
Size: 172 Bytes
Versions: 9
Compression:
Stored size: 172 Bytes
Contents
require 'set' class Set # Serialize a Set as it's close cousin - the array def to_json(*args) self.to_a.to_json(*args) end alias_method :as_json, :to_json end
Version data entries
9 entries across 9 versions & 1 rubygems