Sha256: b37a2212c75d6b4960c74a4d45d7da872315e0580fdb8910b08e424ca15aaa0b

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

require 'facets/unboundmethod/name'

class Test_UnboundMethod < Test::Unit::TestCase

  class X
    def foo; end
  end

  def test_name
    meth = X.instance_method(:foo)
    assert_equal("foo", meth.name)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-2.5.0 test/core/unboundmethod/test_name.rb