[前][次][番号順一覧][スレッド一覧]

ruby-changes:3116

From: ko1@a...
Date: 24 Dec 2007 23:02:25 +0900
Subject: [ruby-changes:3116] nahi - Ruby:r14608 (trunk): * changed constant name: Struct::MyStruct -> Struct::MyJsonStruct

nahi	2007-12-24 23:02:09 +0900 (Mon, 24 Dec 2007)

  New Revision: 14608

  Modified files:
    trunk/test/json/test_json_addition.rb

  Log:
     * changed constant name: Struct::MyStruct -> Struct::MyJsonStruct


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/json/test_json_addition.rb?r1=14608&r2=14607

Index: test/json/test_json_addition.rb
===================================================================
--- test/json/test_json_addition.rb	(revision 14607)
+++ test/json/test_json_addition.rb	(revision 14608)
@@ -122,7 +122,7 @@
     assert_equal 1...10, JSON(JSON(1...10))
     assert_equal "a".."c", JSON(JSON("a".."c"))
     assert_equal "a"..."c", JSON(JSON("a"..."c"))
-    struct = Struct.new 'MyStruct', :foo, :bar
+    struct = Struct.new 'MyJsonStruct', :foo, :bar
     s = struct.new 4711, 'foot'
     assert_equal s, JSON(JSON(s))
     struct = Struct.new :foo, :bar

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]