[Groonga-commit] groonga/groonga at 1a9dd26 [master] mrb: use symbol for name

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 7 12:22:55 JST 2014


Kouhei Sutou	2014-08-07 12:22:55 +0900 (Thu, 07 Aug 2014)

  New Revision: 1a9dd26797138a9bdb33e022b8e3271465f33951
  https://github.com/groonga/groonga/commit/1a9dd26797138a9bdb33e022b8e3271465f33951

  Message:
    mrb: use symbol for name

  Modified files:
    lib/mrb/scripts/context/error_level.rb

  Modified: lib/mrb/scripts/context/error_level.rb (+5 -5)
===================================================================
--- lib/mrb/scripts/context/error_level.rb    2014-08-07 12:22:04 +0900 (c1dd939)
+++ lib/mrb/scripts/context/error_level.rb    2014-08-07 12:22:55 +0900 (1b75ae8)
@@ -11,11 +11,11 @@ module Groonga
         @level
       end
 
-      EMERGENCY = new("emergency", 1)
-      ALERT     = new("alert",     2)
-      CRITICAL  = new("critical",  3)
-      ERROR     = new("error",     4)
-      WARNING   = new("warning",   5)
+      EMERGENCY = new(:emergency, 1)
+      ALERT     = new(:alert,     2)
+      CRITICAL  = new(:critical,  3)
+      ERROR     = new(:error,     4)
+      WARNING   = new(:warning,   5)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
下载 



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