Sha256: 4b4feef0b950bc72b790421bc7c2b47bd84fd92ee13ebe1db075cca88f727934
Contents?: true
Size: 328 Bytes
Versions: 6
Compression:
Stored size: 328 Bytes
Contents
require 'facets/kernel/method' require 'test/unit' class TestKernelMethod < Test::Unit::TestCase class TestWith def foo ; end end def test_method! t = TestWith.new assert_equal( t.method!(:foo).__id__, t.method!(:foo).__id__ ) assert_not_equal( t.method(:foo).__id__, t.method(:foo).__id__ ) end end
Version data entries
6 entries across 6 versions & 1 rubygems