From 722f1c98976d3ae2770bf92c062cae50bb091822 Mon Sep 17 00:00:00 2001 From: nahi Date: Sat, 10 Jul 2004 00:35:02 +0000 Subject: * test/soap/marshal/test_struct.rb: use qualified build-tin class name (::Struct) to avoid name crash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/soap/marshal/test_struct.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/soap/marshal/test_struct.rb b/test/soap/marshal/test_struct.rb index d3c0a4e5e..33975c31b 100644 --- a/test/soap/marshal/test_struct.rb +++ b/test/soap/marshal/test_struct.rb @@ -6,8 +6,8 @@ module SOAP module Marshal -Foo1 = Struct.new("Foo1", :m) -Foo2 = Struct.new(:m) +Foo1 = ::Struct.new("Foo1", :m) +Foo2 = ::Struct.new(:m) class Foo3 attr_accessor :m end -- cgit