[Groonga-commit] droonga/droonga-engine at 1c8833c [master] Return the given value itself correctly by WeakMap

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 21 14:38:51 JST 2014


YUKI Hiroshi	2014-11-21 14:38:51 +0900 (Fri, 21 Nov 2014)

  New Revision: 1c8833c5a85d5d7838304b6dd2ccaa957c2f5135
  https://github.com/droonga/droonga-engine/commit/1c8833c5a85d5d7838304b6dd2ccaa957c2f5135

  Message:
    Return the given value itself correctly by WeakMap

  Modified files:
    lib/droonga/buffered_tcp_socket.rb

  Modified: lib/droonga/buffered_tcp_socket.rb (+1 -0)
===================================================================
--- lib/droonga/buffered_tcp_socket.rb    2014-11-21 14:13:33 +0900 (e3fc311)
+++ lib/droonga/buffered_tcp_socket.rb    2014-11-21 14:38:51 +0900 (5d4e8c9)
@@ -134,6 +134,7 @@ module Droonga
 
           def []=(key, value)
             @ids[key.object_id] = value.object_id
+            value
           end
         end
 
-------------- next part --------------
HTML����������������������������...
下載 



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