Sha256: 3631affd90a5abe24bbcd8bc4e3454bbc31f7525bb050ddf1c129e00b87c89e1
Contents?: true
Size: 448 Bytes
Versions: 24
Compression:
Stored size: 448 Bytes
Contents
module Toy module Extensions module Object module ClassMethods def to_store(value, *) value end def from_store(value, *) value end end module InstanceMethods def to_store self.class.to_store(self) end end end end end class Object extend Toy::Extensions::Object::ClassMethods include Toy::Extensions::Object::InstanceMethods end
Version data entries
24 entries across 24 versions & 1 rubygems