[Groonga-commit] droonga/droonga-engine at 5c10bc9 [master] Disallow to import methods of Serf::Tag

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 22 11:01:23 JST 2015


YUKI Hiroshi	2015-04-22 11:01:23 +0900 (Wed, 22 Apr 2015)

  New Revision: 5c10bc98a59e580a16e5b1d02a164ed2672fb005
  https://github.com/droonga/droonga-engine/commit/5c10bc98a59e580a16e5b1d02a164ed2672fb005

  Message:
    Disallow to import methods of Serf::Tag

  Modified files:
    lib/droonga/serf/tag.rb

  Modified: lib/droonga/serf/tag.rb (+2 -1)
===================================================================
--- lib/droonga/serf/tag.rb    2015-04-22 11:00:18 +0900 (9b33cdc)
+++ lib/droonga/serf/tag.rb    2015-04-22 11:01:23 +0900 (f48af77)
@@ -16,7 +16,7 @@
 module Droonga
   class Serf
     module Tag
-      module_function
+      class << self
         def node_type
           "type"
         end
@@ -54,6 +54,7 @@ module Droonga
         def extract_node_name_from_have_unprocessed_messages_tag(tag)
           tag.sub(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX, "")
         end
+      end
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
下载 



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