Sha256: 225ec87f8b03ffab468aed6c3192df5d2221b7d6146a61110d7bdb9ca52cc3ef
Contents?: true
Size: 299 Bytes
Versions: 4
Compression:
Stored size: 299 Bytes
Contents
covers 'facets/class/preallocate' tests Class do c = Class.new do def f "f" end end m = Module.new do def f '{' + super + '}' end end # unit :preallocate do c.class_eval do preallocate m end x = c.new x.f.assert == "{f}" end end
Version data entries
4 entries across 4 versions & 1 rubygems