From 0b0d082d1c299add6d7180ced6e4c7f785471b77 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/soap/marshal/test_struct.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0cbbda5f72..ec638dacd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 10 09:30:24 2004 NAKAMURA, Hiroshi + + * test/soap/marshal/test_struct.rb: use qualified build-tin class name + (::Struct) to avoid name crash. + Sat Jul 10 04:21:56 2004 Hidetoshi NAGAI * ext/tk/lib/tk.rb: better operation for SIGINT when processing diff --git a/test/soap/marshal/test_struct.rb b/test/soap/marshal/test_struct.rb index d3c0a4e5e8..33975c31b0 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 v1.2.3