[Groonga-commit] ranguba/groonga-client at 31309d6 [master] Accept client.select("string_key" => "value", :symbol_key => "value") again

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 5 19:13:47 JST 2016


Kouhei Sutou	2016-10-05 19:13:47 +0900 (Wed, 05 Oct 2016)

  New Revision: 31309d646fc39d1862aec47e0c4553e79a46933d
  https://github.com/ranguba/groonga-client/commit/31309d646fc39d1862aec47e0c4553e79a46933d

  Message:
    Accept client.select("string_key" => "value", :symbol_key => "value") again

  Modified files:
    lib/groonga/client.rb

  Modified: lib/groonga/client.rb (+2 -6)
===================================================================
--- lib/groonga/client.rb    2016-10-05 19:10:30 +0900 (c4997b8)
+++ lib/groonga/client.rb    2016-10-05 19:13:47 +0900 (7e19fe5)
@@ -176,13 +176,9 @@ module Groonga
       execute_command(command, &block)
     end
 
-    def method_missing(name, *args, **kwargs, &block)
+    def method_missing(name, *args, &block)
       if groonga_command_name?(name)
-        if kwargs.empty?
-          execute(name, *args, &block)
-        else
-          execute(name, *args, **kwargs, &block)
-        end
+        execute(name, *args, &block)
       else
         super
       end
-------------- next part --------------
HTML����������������������������...
Download 



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