Sha256: f0c544d3a82add7a7a14abee83bf90035ffbb5585e6a705049aa1f670d63ccde
Contents?: true
Size: 316 Bytes
Versions: 5
Compression:
Stored size: 316 Bytes
Contents
covers 'facets/module/class_def' test_case Module do method :class_def do test do m = Module.new m.class_def(:x){"x"} c = Class.new{ include m } c.new.x.assert == "x" end test do c = Class.new c.class_def(:x){"x"} c.new.x.assert == "x" end end end
Version data entries
5 entries across 5 versions & 2 rubygems