[Groonga-commit] ranguba/rroonga at 6ac42d1 [master] document: add missing options

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 22 11:40:39 JST 2014


Kouhei Sutou	2014-05-22 11:40:39 +0900 (Thu, 22 May 2014)

  New Revision: 6ac42d13759525654fac7f0cd3814426a9c093aa
  https://github.com/ranguba/rroonga/commit/6ac42d13759525654fac7f0cd3814426a9c093aa

  Message:
    document: add missing options

  Modified files:
    lib/groonga/patricia-trie.rb

  Modified: lib/groonga/patricia-trie.rb (+4 -1)
===================================================================
--- lib/groonga/patricia-trie.rb    2014-05-13 11:38:22 +0900 (8fa9a9b)
+++ lib/groonga/patricia-trie.rb    2014-05-22 11:40:39 +0900 (18924b1)
@@ -41,7 +41,10 @@ module Groonga
     #   other_text_handler = Proc.new do |string|
     #     h(string)
     #   end
-    #   words.tag_keys(text) do |record, word|
+    #   options = {
+    #     :other_text_handler => other_text_handler,
+    #   }
+    #   words.tag_keys(text, options) do |record, word|
     #     "<span class=\"keyword\">#{h(word)}(#{h(record.key)})</span>\n"
     #   end
     #   # =>
-------------- next part --------------
HTML����������������������������...
Download 



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