[Groonga-commit] groonga/groonga-command at 395eeba [master] Use flags_value

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Dec 8 21:37:28 JST 2016


Kouhei Sutou	2016-12-08 21:37:28 +0900 (Thu, 08 Dec 2016)

  New Revision: 395eeba940e2fc5122fc3f1ccd7add02fa7b543d
  https://github.com/groonga/groonga-command/commit/395eeba940e2fc5122fc3f1ccd7add02fa7b543d

  Message:
    Use flags_value

  Modified files:
    lib/groonga/command/table-create.rb

  Modified: lib/groonga/command/table-create.rb (+1 -1)
===================================================================
--- lib/groonga/command/table-create.rb    2016-12-08 21:37:21 +0900 (35efd93)
+++ lib/groonga/command/table-create.rb    2016-12-08 21:37:28 +0900 (822075d)
@@ -62,7 +62,7 @@ module Groonga
       end
 
       def flags
-        @flags ||= (self[:flags] || "").split(/\s*\|\s*/)
+        @flags ||= flags_value(:flags)
       end
 
       # @return [Boolean] true if "TABLE_NO_KEY" is specified in {#flags},
-------------- next part --------------
HTML����������������������������...
下载 



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