Sha256: 5fbcac80b47c8a441c082851382112aae7268f453f4a851cdfd6f94e1ac8ac7b
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
require 'facets/unboundmethod/name' class Test_UnboundMethod_Name < Test::Unit::TestCase class X def foo; end end def test_name meth = X.instance_method(:foo) assert_equal("foo", meth.name) end #if RUBY_VERSION < "1.9" # UnboundMethod#name is defined already in 1.9. end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.8.1 | test/core/unboundmethod/test_name.rb |
facets-2.8.0 | test/core/unboundmethod/test_name.rb |