[Groonga-commit] groonga/groonga-query-log [master] Use more proper method name

Back to archive index

Haruka Yoshihara null+****@clear*****
Tue Dec 18 15:21:41 JST 2012


Haruka Yoshihara	2012-12-18 15:21:41 +0900 (Tue, 18 Dec 2012)

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

  Log:
    Use more proper method name
    
    input -> stdin

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

  Modified: lib/groonga/query-log/commandline-utils.rb (+3 -3)
===================================================================
--- lib/groonga/query-log/commandline-utils.rb    2012-12-18 15:19:32 +0900 (dc823b2)
+++ lib/groonga/query-log/commandline-utils.rb    2012-12-18 15:21:41 +0900 (471b688)
@@ -19,14 +19,14 @@ module Groonga
   module QueryLog
     module CommandLineUtils
       def log_via_stdin?
-        input_with_pipe? or input_with_redirect?
+        stdin_with_pipe? or stdin_with_redirect?
       end
 
-      def input_with_pipe?
+      def stdin_with_pipe?
         File.pipe?($stdin)
       end
 
-      def input_with_redirect?
+      def stdin_with_redirect?
         not File.select([$stdin], [], [], 0).nil?
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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