[Groonga-commit] ranguba/rroonga at 61e64f0 [master] Suppress a warning from Ruby 2.3

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 5 12:44:27 JST 2016


Kouhei Sutou	2016-03-05 12:44:27 +0900 (Sat, 05 Mar 2016)

  New Revision: 61e64f0e9042f84a9fc60237219d79a02f57a0af
  https://github.com/ranguba/rroonga/commit/61e64f0e9042f84a9fc60237219d79a02f57a0af

  Message:
    Suppress a warning from Ruby 2.3
    
        warning: Groonga::Record#respond_to?(:to_ary) is old fashion which takes only one parameter

  Modified files:
    lib/groonga/record.rb

  Modified: lib/groonga/record.rb (+1 -1)
===================================================================
--- lib/groonga/record.rb    2016-03-05 12:27:32 +0900 (9328005)
+++ lib/groonga/record.rb    2016-03-05 12:44:27 +0900 (3ea034a)
@@ -400,7 +400,7 @@ module Groonga
     end
 
     # @private
-    def respond_to?(name)
+    def respond_to?(name, include_all=false)
       super or !@table.column(name.to_s.sub(/=\z/, '')).nil?
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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