Sha256: f2e47e946fff5ac1b57a9b93f5bf84718f370f6c5890898abdf6b8a5fa596b2e
Contents?: true
Size: 132 Bytes
Versions: 2
Compression:
Stored size: 132 Bytes
Contents
module MemoryModel class Base module Conversion def to_key persisted? ? [id] : nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
memory_model-1.0.0 | lib/memory_model/base/conversion.rb |
memory_model-0.1.0 | lib/memory_model/base/conversion.rb |