[Groonga-commit] droonga/droonga-client-ruby at fd8afe7 [master] Fix indent

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri May 29 17:44:32 JST 2015


YUKI Hiroshi	2015-05-29 17:44:32 +0900 (Fri, 29 May 2015)

  New Revision: fd8afe76081df3774d4d1f829f91d65abdc48e3a
  https://github.com/droonga/droonga-client-ruby/commit/fd8afe76081df3774d4d1f829f91d65abdc48e3a

  Message:
    Fix indent

  Modified files:
    bin/droonga-groonga

  Modified: bin/droonga-groonga (+7 -7)
===================================================================
--- bin/droonga-groonga    2015-05-29 17:44:01 +0900 (a195a89)
+++ bin/droonga-groonga    2015-05-29 17:44:32 +0900 (79006f3)
@@ -68,14 +68,14 @@ module Droonga
       private
       def process_groonga_message(groonga_message)
         request(groonga_message) do |response|
-        raise NoResponse.new unless response
-        body = response["body"]
+          raise NoResponse.new unless response
+          body = response["body"]
 
-        if @options[:pretty]
-          puts(JSON.pretty_generate(body))
-        else
-          puts(JSON.generate(body))
-        end
+          if @options[:pretty]
+            puts(JSON.pretty_generate(body))
+          else
+            puts(JSON.generate(body))
+          end
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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