[Groonga-commit] ranguba/groonga-client at b2e57f0 [master] Use meaningful name

Back to archive index

Masafumi Yokoyama null+****@clear*****
Mon Dec 12 21:52:18 JST 2016


Masafumi Yokoyama	2016-12-12 21:52:18 +0900 (Mon, 12 Dec 2016)

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

  Message:
    Use meaningful name

  Modified files:
    lib/groonga/client/response/select.rb

  Modified: lib/groonga/client/response/select.rb (+4 -4)
===================================================================
--- lib/groonga/client/response/select.rb    2016-12-12 21:51:42 +0900 (59ad7a7)
+++ lib/groonga/client/response/select.rb    2016-12-12 21:52:18 +0900 (bb679df)
@@ -173,8 +173,8 @@ module Groonga
         def parse_slices_v1(raw_slices)
           slices = {}
           (raw_slices || {}).each do |key, raw_slice|
-            n_hits, body = parse_match_records_v1(raw_slice)
-            slices[key] = Slice.new(key, n_hits, body)
+            n_hits, records = parse_match_records_v1(raw_slice)
+            slices[key] = Slice.new(key, n_hits, records)
           end
           slices
         end
@@ -182,8 +182,8 @@ module Groonga
         def parse_slices_v3(raw_slices)
           slices = {}
           (raw_slices || {}).each do |key, raw_slice|
-            n_hits, body = parse_match_records_v3(raw_slice)
-            slices[key] = Slice.new(key, n_hits, body)
+            n_hits, records = parse_match_records_v3(raw_slice)
+            slices[key] = Slice.new(key, n_hits, records)
           end
           slices
         end
-------------- next part --------------
HTML����������������������������...
Download 



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