[Groonga-commit] droonga/droonga.org at 4264b52 [gh-pages] Use StatusCode module

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Feb 17 17:57:39 JST 2014


YUKI Hiroshi	2014-02-17 17:57:39 +0900 (Mon, 17 Feb 2014)

  New Revision: 4264b5271ba5ec11fa2319c9143ac6fa2d379f21
  https://github.com/droonga/droonga.org/commit/4264b5271ba5ec11fa2319c9143ac6fa2d379f21

  Message:
    Use StatusCode module

  Modified files:
    reference/plugin/adapter/index.md

  Modified: reference/plugin/adapter/index.md (+1 -1)
===================================================================
--- reference/plugin/adapter/index.md    2014-02-17 17:56:00 +0900 (6da783b)
+++ reference/plugin/adapter/index.md    2014-02-17 17:57:39 +0900 (5fb8367)
@@ -132,7 +132,7 @@ By defualt this method does nothing, so you have to override it like following:
 module FooPlugin
   class Adapter < Droonga::Adapter
     def adapt_output(output_message)
-      output_message.status_code = STATUS_OK
+      output_message.status_code = StatusCode::OK
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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