[Groonga-commit] droonga/fluent-plugin-droonga at 9930580 [master] Output the name of the error without full class path

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Dec 26 12:54:49 JST 2013


YUKI Hiroshi	2013-12-26 12:54:49 +0900 (Thu, 26 Dec 2013)

  New Revision: 993058055410d9b8cdcb73f30ec75219980fdd84
  https://github.com/droonga/fluent-plugin-droonga/commit/993058055410d9b8cdcb73f30ec75219980fdd84

  Merged d5217b2: Merge branch 'master' of 192.168.1.21:~piro/groonga/fluent-plugin-droonga into HEAD

  Message:
    Output the name of the error without full class path

  Modified files:
    lib/droonga/handler_error.rb

  Modified: lib/droonga/handler_error.rb (+1 -1)
===================================================================
--- lib/droonga/handler_error.rb    2013-12-26 12:48:38 +0900 (8ada301)
+++ lib/droonga/handler_error.rb    2013-12-26 12:54:49 +0900 (83ea2c7)
@@ -23,7 +23,7 @@ module Droonga
     end
 
     def name
-      self.class.to_s
+      self.class.name.split["::"].last
     end
 
     def status_code
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る