[Groonga-commit] droonga/wikipedia-search at 046fbf9 [master] Use more generic name for generic method

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 8 18:50:47 JST 2014


Kouhei Sutou	2014-04-08 18:50:47 +0900 (Tue, 08 Apr 2014)

  New Revision: 046fbf9bf02d89096bb2603a2fd5d1bb969ec1d6
  https://github.com/droonga/wikipedia-search/commit/046fbf9bf02d89096bb2603a2fd5d1bb969ec1d6

  Message:
    Use more generic name for generic method

  Modified files:
    lib/wikipedia-search/task.rb

  Modified: lib/wikipedia-search/task.rb (+3 -3)
===================================================================
--- lib/wikipedia-search/task.rb    2014-04-08 17:29:05 +0900 (bfe5c25)
+++ lib/wikipedia-search/task.rb    2014-04-08 18:50:47 +0900 (02eaa5b)
@@ -186,7 +186,7 @@ module WikipediaSearch
                @path.droonga.pages.to_s)
           ensure
             pids.each do |pid|
-              droonga_stop_engine(pid)
+              stop_process(pid)
             end
           end
         end
@@ -205,7 +205,7 @@ module WikipediaSearch
             $stdin.gets
           ensure
             pids.each do |pid|
-              droonga_stop_engine(pid)
+              stop_process(pid)
             end
           end
         end
@@ -277,7 +277,7 @@ module WikipediaSearch
       end
     end
 
-    def droonga_stop_engine(pid)
+    def stop_process(pid)
       Process.kill(:TERM, pid)
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



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