[Groonga-commit] groonga/groonga-command at f453709 [master] Add Command.all

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 21 12:22:53 JST 2016


Kouhei Sutou	2016-03-21 12:22:53 +0900 (Mon, 21 Mar 2016)

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

  Message:
    Add Command.all

  Modified files:
    lib/groonga/command/base.rb

  Modified: lib/groonga/command/base.rb (+4 -0)
===================================================================
--- lib/groonga/command/base.rb    2016-03-17 12:30:04 +0900 (250335a)
+++ lib/groonga/command/base.rb    2016-03-21 12:22:53 +0900 (880746f)
@@ -21,6 +21,10 @@ module Groonga
   module Command
     class << self
       @@registered_commands = {}
+      def all
+        @@registered_commands
+      end
+
       def register(name, klass)
         @@registered_commands[name] = klass
       end
-------------- next part --------------
HTML����������������������������...
下载 



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