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

ruby-changes:29810

From: hsbt <ko1@a...>
Date: Tue, 9 Jul 2013 20:48:29 +0900 (JST)
Subject: [ruby-changes:29810] hsbt:r41862 (trunk): fixup stying of `Json#generate` parameter docs by @daveworth [fixes GH-339]

hsbt	2013-07-09 20:48:19 +0900 (Tue, 09 Jul 2013)

  New Revision: 41862

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41862

  Log:
    fixup stying of `Json#generate` parameter docs by @daveworth [fixes GH-339]

  Modified files:
    trunk/ext/json/lib/json/common.rb

Index: ext/json/lib/json/common.rb
===================================================================
--- ext/json/lib/json/common.rb	(revision 41861)
+++ ext/json/lib/json/common.rb	(revision 41862)
@@ -179,9 +179,10 @@ module JSON https://github.com/ruby/ruby/blob/trunk/ext/json/lib/json/common.rb#L179
   end
 
   # Generate a JSON document from the Ruby data structure _obj_ and return
-  # it. _state_ is * a JSON::State object,
+  # it. _state_ is
+  # * a JSON::State object,
   # * or a Hash like object (responding to to_hash),
-  # * an object convertible into a hash by a to_h method,
+  # * or an object convertible into a hash by a to_h method,
   # that is used as or to configure a State object.
   #
   # It defaults to a state object, that creates the shortest possible JSON text

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

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