8 class TestUDPSocket < Test::Unit::TestCase
12 class << host; self end.send(:define_method, :to_str) {
16 assert_raise(IOError, "[ruby-dev:25045]") {
24 class << host; self end.send(:define_method, :to_str) {
28 assert_raise(IOError, "[ruby-dev:25057]") {
32 end if defined?(UDPSocket)