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

ruby-changes:43965

From: nobu <ko1@a...>
Date: Tue, 30 Aug 2016 15:27:34 +0900 (JST)
Subject: [ruby-changes:43965] nobu:r56038 (trunk): Fix rdoc of OpenStruct.json_create [ci skip]

nobu	2016-08-30 15:27:29 +0900 (Tue, 30 Aug 2016)

  New Revision: 56038

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56038

  Log:
    Fix rdoc of OpenStruct.json_create [ci skip]
    
    * ext/json/lib/json/add/ostruct.rb (OpenStruct.json_create):
      Correct documentation, fix the name of values.  [Fix GH-1421]

  Modified files:
    trunk/ChangeLog
    trunk/ext/json/lib/json/add/ostruct.rb
Index: ext/json/lib/json/add/ostruct.rb
===================================================================
--- ext/json/lib/json/add/ostruct.rb	(revision 56037)
+++ ext/json/lib/json/add/ostruct.rb	(revision 56038)
@@ -7,7 +7,7 @@ require 'ostruct' https://github.com/ruby/ruby/blob/trunk/ext/json/lib/json/add/ostruct.rb#L7
 class OpenStruct
 
   # Deserializes JSON string by constructing new Struct object with values
-  # <tt>v</tt> serialized by <tt>to_json</tt>.
+  # <tt>t</tt> serialized by <tt>to_json</tt>.
   def self.json_create(object)
     new(object['t'] || object[:t])
   end
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56037)
+++ ChangeLog	(revision 56038)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Aug 30 15:27:27 2016  Kouhei Yanagita  <yanagi@s...>
+
+	* ext/json/lib/json/add/ostruct.rb (OpenStruct.json_create):
+	  Correct documentation, fix the name of values.  [Fix GH-1421]
+
 Tue Aug 30 14:53:34 2016  NAKAMURA Usaku  <usa@r...>
 
 	* io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the

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

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