require 'facets/unboundmethod/arguments' 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