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 | 722f1c98976d3ae2770bf92c062cae50bb091822 (patch) | |
| tree | febdf3aabb1b338e26265a8f8d9d372c1f8967de | |
| parent | a77557a6b12033a845b1d2ef35e23210dccbb98e (diff) | |
| download | ruby-722f1c98976d3ae2770bf92c062cae50bb091822.tar.gz ruby-722f1c98976d3ae2770bf92c062cae50bb091822.tar.xz ruby-722f1c98976d3ae2770bf92c062cae50bb091822.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/branches/ruby_1_8@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/soap/marshal/test_struct.rb | 4 |
2 files changed, 7 insertions, 2 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 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 |
