[Groonga-commit] ranguba/groonga-client-model at 08db1a1 [master] Add column reference method

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 19 13:32:18 JST 2016


Kouhei Sutou	2016-12-19 13:32:18 +0900 (Mon, 19 Dec 2016)

  New Revision: 08db1a12af7d550083defe3b3821076a53a2aaa3
  https://github.com/ranguba/groonga-client-model/commit/08db1a12af7d550083defe3b3821076a53a2aaa3

  Message:
    Add column reference method

  Modified files:
    lib/groonga_client_model/schema.rb

  Modified: lib/groonga_client_model/schema.rb (+4 -0)
===================================================================
--- lib/groonga_client_model/schema.rb    2016-12-19 12:25:47 +0900 (7eabc65)
+++ lib/groonga_client_model/schema.rb    2016-12-19 13:32:18 +0900 (8370015)
@@ -95,6 +95,10 @@ module GroongaClientModel
         @raw_columns.keys
       end
 
+      def [](name)
+        @raw_columns[name]
+      end
+
       def each
         @raw_columns.each do |name, column|
           yield(name, column)
-------------- next part --------------
HTML����������������������������...
Descargar 



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