Sha256: c6ae58b6415a48bf234961edff8f6ac6b0385e8f2fd9518fa983b12293bb1d21
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
module MotionResource module SpecHelpers def self.extended(base) base.after do forget_instances_of(MotionResource::Base) end end def forget_instances_of(klass) klass.identity_map.clear klass.descendants.each do |subklass| forget_instances_of(subklass) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems