[Groonga-commit] droonga/droonga-engine at 654ddf2 [master] Array has no method ".zero?"

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jun 26 14:48:26 JST 2014


YUKI Hiroshi	2014-06-26 14:48:26 +0900 (Thu, 26 Jun 2014)

  New Revision: 654ddf20f29d635f30e2949c257414b9b2553eab
  https://github.com/droonga/droonga-engine/commit/654ddf20f29d635f30e2949c257414b9b2553eab

  Message:
    Array has no method ".zero?"

  Modified files:
    lib/droonga/forwarder.rb

  Modified: lib/droonga/forwarder.rb (+1 -1)
===================================================================
--- lib/droonga/forwarder.rb    2014-06-26 14:45:39 +0900 (98ce8d5)
+++ lib/droonga/forwarder.rb    2014-06-26 14:48:26 +0900 (6faa65a)
@@ -55,7 +55,7 @@ module Droonga
       return unless Path.buffer.exist?
       Pathname.glob("#{Path.buffer}/*") do |path|
         next unless path.directory?
-        next if Pathname.glob("#{path.to_s}/*").zero?
+        next if Pathname.glob("#{path.to_s}/*").empty?
 
         destination = path.basename.to_s
         next if****@sende*****?(destination)
-------------- next part --------------
HTML����������������������������...
다운로드 



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