summaryrefslogtreecommitdiff
path: root/test/soap
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-10 00:35:02 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-10 00:35:02 +0000
commit0b0d082d1c299add6d7180ced6e4c7f785471b77 (patch)
treefebdf3aabb1b338e26265a8f8d9d372c1f8967de /test/soap
parent24d2225afde5beb0771c8987c2e1c80ce900b52a (diff)
* 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
Diffstat (limited to 'test/soap')
-rw-r--r--test/soap/marshal/test_struct.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/soap/marshal/test_struct.rb b/test/soap/marshal/test_struct.rb
index d3c0a4e..33975c3 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