Sha256: 873403ebb705d00851bc85f1fc91ec8f916ad1fc146bd204f0a8c0c9dfc3cb48

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

covers 'facets/module/instance_method'

tests Module do

  unit :instance_method! 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/module/test_instance_method.rb
facets-2.9.0 test/core/module/test_instance_method.rb
facets-2.9.0.pre.2 test/core/module/test_instance_method.rb
facets-2.9.0.pre.1 test/core/module/test_instance_method.rb