From 40816e8ba28ffd52e6e02a258a8819cb288ab713 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 12 Sep 2005 16:29:08 +0000 Subject: * test/socket/test_{udp,socket}.rb: revert unintentional commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_udp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/socket/test_udp.rb') diff --git a/test/socket/test_udp.rb b/test/socket/test_udp.rb index 3f5f55a467..602adccf1c 100644 --- a/test/socket/test_udp.rb +++ b/test/socket/test_udp.rb @@ -21,7 +21,7 @@ class TestUDPSocket < Test::Unit::TestCase def test_bind # [ruby-dev:25057] s = UDPSocket.new host = Object.new - class << host; self end.fcall(:define_method, :to_str) { + class << host; self end.send(:define_method, :to_str) { s.close "127.0.0.1" } -- cgit v1.2.3