[Groonga-commit] ranguba/groonga-client at 7761834 [master] Fix a bug that Groonga::Command isn't acceptted

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 21 23:17:00 JST 2016


Kouhei Sutou	2016-03-21 23:17:00 +0900 (Mon, 21 Mar 2016)

  New Revision: 776183484c25f841b8d949bf70eed07a45e723ba
  https://github.com/ranguba/groonga-client/commit/776183484c25f841b8d949bf70eed07a45e723ba

  Message:
    Fix a bug that Groonga::Command isn't acceptted

  Modified files:
    lib/groonga/client.rb

  Modified: lib/groonga/client.rb (+1 -1)
===================================================================
--- lib/groonga/client.rb    2016-03-21 22:58:52 +0900 (32af8bd)
+++ lib/groonga/client.rb    2016-03-21 23:17:00 +0900 (f9b894d)
@@ -165,7 +165,7 @@ module Groonga
     end
 
     def execute(command_or_name, parameters={}, &block)
-      if command_or_name.is_a?(Command)
+      if command_or_name.is_a?(Groonga::Command::Base)
         command = command_or_name
       else
         command_name = command_or_name
-------------- next part --------------
HTML����������������������������...
下载 



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