diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-10 00:35:02 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-10 00:35:02 +0000 |
commit | 519531dd9afc3c90c9c8b5355887b8af4f91571f (patch) | |
tree | e07f1ca1947a00bcf822bd6e46aba395f82c2273 /test/soap | |
parent | e55330c9c415f673ca5565a9dbd0b84775d53419 (diff) | |
download | ruby-519531dd9afc3c90c9c8b5355887b8af4f91571f.tar.gz |
* 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/trunk@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap')
-rw-r--r-- | test/soap/marshal/test_struct.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |