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 | 5e32860fe41d0149f6ebcf0d814f93c69d038795 (patch) | |
| tree | e07f1ca1947a00bcf822bd6e46aba395f82c2273 | |
| parent | 078395bf8072f1722a3893a0396bee9edfabb48e (diff) | |
| download | ruby-5e32860fe41d0149f6ebcf0d814f93c69d038795.tar.gz ruby-5e32860fe41d0149f6ebcf0d814f93c69d038795.tar.xz ruby-5e32860fe41d0149f6ebcf0d814f93c69d038795.zip | |
* 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/trunk@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | test/soap/marshal/test_struct.rb | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Sat Jul 10 09:30:24 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> + + * 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 <nagai@ai.kyutech.ac.jp> * ext/tk/lib/tk.rb: better operation for SIGINT when processing @@ -10,7 +15,7 @@ Sat Jul 10 04:21:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> function of Tk::ValidateConfigure to define validatecommand methods easier -Fri Jul 9 22:18:59 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> +Fri Jul 9 22:18:59 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * array.c, enum.c, pack.c: rdoc patch from Johan Holmberg <holmberg@iar.se> [ruby-core:3132] [ruby-core:3136] 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 |
