[Groonga-commit] groonga/groonga-query-log at f81be0f [master] Fix indent

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 15 11:51:28 JST 2018


Kouhei Sutou	2018-01-15 11:51:28 +0900 (Mon, 15 Jan 2018)

  New Revision: f81be0f797f18b682c37c8ec970c9fb03d53a18c
  https://github.com/groonga/groonga-query-log/commit/f81be0f797f18b682c37c8ec970c9fb03d53a18c

  Message:
    Fix indent

  Modified files:
    lib/groonga-query-log/command-line-utils.rb

  Modified: lib/groonga-query-log/command-line-utils.rb (+12 -11)
===================================================================
--- lib/groonga-query-log/command-line-utils.rb    2018-01-15 11:46:05 +0900 (2c8e359)
+++ lib/groonga-query-log/command-line-utils.rb    2018-01-15 11:51:28 +0900 (c591461)
@@ -1,4 +1,5 @@
-# Copyright (C) 2012-2017  Haruka Yoshihara <yoshihara �� clear-code.com>
+# Copyright (C) 2017-2018  Kouhei Sutou <kou �� clear-code.com>
+# Copyright (C) 2012  Haruka Yoshihara <yoshihara �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -14,17 +15,17 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 module GroongaQueryLog
-    module CommandLineUtils
-      def log_via_stdin?
-        stdin_with_pipe? or stdin_with_redirect?
-      end
+  module CommandLineUtils
+    def log_via_stdin?
+      stdin_with_pipe? or stdin_with_redirect?
+    end
 
-      def stdin_with_pipe?
-        File.pipe?($stdin)
-      end
+    def stdin_with_pipe?
+      File.pipe?($stdin)
+    end
 
-      def stdin_with_redirect?
-        not File.select([$stdin], [], [], 0).nil?
-      end
+    def stdin_with_redirect?
+      not File.select([$stdin], [], [], 0).nil?
     end
+  end
 end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180115/a36330ca/attachment-0001.htm 



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