[Groonga-commit] groonga/groonga at 5b6eb7b [master] doc: update 'return value' section

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Sep 27 09:53:47 JST 2013


HAYASHI Kentaro	2013-09-27 09:53:47 +0900 (Fri, 27 Sep 2013)

  New Revision: 5b6eb7bc3d9576d759dfc82f27b637d1fa378778
  https://github.com/groonga/groonga/commit/5b6eb7bc3d9576d759dfc82f27b637d1fa378778

  Message:
    doc: update 'return value' section

  Modified files:
    doc/source/reference/commands/ruby_eval.txt

  Modified: doc/source/reference/commands/ruby_eval.txt (+13 -3)
===================================================================
--- doc/source/reference/commands/ruby_eval.txt    2013-09-26 19:35:59 +0900 (e5a9478)
+++ doc/source/reference/commands/ruby_eval.txt    2013-09-27 09:53:47 +0900 (2eec36c)
@@ -52,15 +52,25 @@ Return value
 
 ``ruby_eval`` returns the evaluated result which key is "value" as json format::
 
-  [[HEADER, json]]
+  [[HEADER, EVALUATED]]
 
 ``HEADER``
 
   See :doc:`/reference/command/output_format` about ``HEADER``.
 
-``json``
+``EVALUATED``
 
-  The key of ``json`` is "value". The value of ``json`` must be a number.
+  ``EVALUATED`` consists of pair of key and value in forms of {key:value}.
+
+  .. list-table::
+     :header-rows: 1
+
+     * - Name
+       - Description
+     * - ``key``
+       - reserved word 'value'.
+     * - ``value``
+       - the value of evaluated script. It must be a number.
 
 See also
 --------
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index