[Groonga-commit] groonga/groonga-command at f1e9f1e [fix-travis-ci-error] doc column_create: add predicates

Back to archive index

Kosuke Asami null+****@clear*****
Wed Jan 13 17:20:50 JST 2016


Kosuke Asami	2013-07-23 17:10:10 +0900 (Tue, 23 Jul 2013)

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

  Message:
    doc column_create: add predicates

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

  Modified: lib/groonga/command/column-create.rb (+18 -0)
===================================================================
--- lib/groonga/command/column-create.rb    2013-07-23 17:09:49 +0900 (4a27b30)
+++ lib/groonga/command/column-create.rb    2013-07-23 17:10:10 +0900 (3371cba)
@@ -39,26 +39,44 @@ module Groonga
         @flags ||= (self[:flags] || "").split(/\s*\|\s*/)
       end
 
+      # @return [Boolean] true if "COLUMN_SCALAR" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def column_scalar?
         flags.include?("COLUMN_SCALAR")
       end
 
+      # @return [Boolean] true if "COLUMN_VECTOR" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def column_vector?
         flags.include?("COLUMN_VECTOR")
       end
 
+      # @return [Boolean] true if "COLUMN_INDEX" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def column_index?
         flags.include?("COLUMN_INDEX")
       end
 
+      # @return [Boolean] true if "WITH_SECTION" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def with_section?
         flags.include?("WITH_SECTION")
       end
 
+      # @return [Boolean] true if "WITH_WEIGHT" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def with_weight?
         flags.include?("WITH_WEIGHT")
       end
 
+      # @return [Boolean] true if "WITH_POSITION" is specified in {#flags},
+      #   false otherwise.
+      # @since 1.0.3
       def with_position?
         flags.include?("WITH_POSITION")
       end
-------------- next part --------------
HTML����������������������������...
Download 



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