Sha256: 2f508e4effa911407ea96c69e66d2fbbfc09d34c1f838d4fd42d40c885493e9e
Contents?: true
Size: 348 Bytes
Versions: 17
Compression:
Stored size: 348 Bytes
Contents
# If you freeze it will not be able to make these memos $LOAD_PATH.unshift '../lib' require 'memory_record' class C def self.x @x ||= 'OK' end end class C2 include MemoryRecord memory_record [ {model: C}, ] def x @x ||= 'OK' end end C2.first.x # => "OK" C2.first.model.x # => "OK"
Version data entries
17 entries across 17 versions & 1 rubygems