Sha256: 088580d8d99abbf2c382df634df77830c06aeaacc0852074cac3357b8beb3a4d
Contents?: true
Size: 293 Bytes
Versions: 5
Compression:
Stored size: 293 Bytes
Contents
covers 'facets/module/instance_method' test_case Module do method :instance_method! do test do c = Class.new do def x; "x"; end end x1 = c.instance_method!(:x) x2 = c.instance_method!(:x) x1.object_id.assert == x2.object_id end end end
Version data entries
5 entries across 5 versions & 2 rubygems