Sha256: 122a3914aedc8d3eda3f0be471619de5bfe71998820d79e7481265cd3cd7a157
Contents?: true
Size: 236 Bytes
Versions: 3
Compression:
Stored size: 236 Bytes
Contents
require 'facets/unboundmethod/name' class Test_UnboundMethod_Name < Test::Unit::TestCase class X def foo; "bar"; end end def test_name meth = X.instance_method(:foo) assert_equal(:foo, meth.name.to_sym) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-2.8.4 | test/core/unboundmethod/test_name.rb |
facets-2.8.3 | test/core/unboundmethod/test_name.rb |
facets-2.8.2 | test/core/unboundmethod/test_name.rb |