Sha256: 0aeab870e71535d2a65ae277c06aad4b92b66d118428d4f972a17f8672ead25f
Contents?: true
Size: 266 Bytes
Versions: 4
Compression:
Stored size: 266 Bytes
Contents
covers 'facets/class/subclasses' test_case Class do method :subclasses do # class with a number of subclasses c = Class.new x = Class.new(c) y = Class.new(c) z = Class.new(c) test do c.subclasses == [x, y, z] end end end
Version data entries
4 entries across 4 versions & 1 rubygems