[Groonga-commit] ranguba/rroonga at 1ae331d [master] Use <...> style for variable in error/log message

Back to archive index

Masafumi Yokoyama null+****@clear*****
Thu Oct 2 22:38:58 JST 2014


Masafumi Yokoyama	2014-10-02 22:38:58 +0900 (Thu, 02 Oct 2014)

  New Revision: 1ae331d4436630ebe869a9b1c2cde8490f27d867
  https://github.com/ranguba/rroonga/commit/1ae331d4436630ebe869a9b1c2cde8490f27d867

  Message:
    Use <...> style for variable in error/log message
    
    Because this style is used in this project.
    
    Fix #22

  Modified files:
    lib/groonga/record.rb

  Modified: lib/groonga/record.rb (+1 -1)
===================================================================
--- lib/groonga/record.rb    2014-10-02 22:16:22 +0900 (6c9ce23)
+++ lib/groonga/record.rb    2014-10-02 22:38:58 +0900 (5bbd225)
@@ -292,7 +292,7 @@ module Groonga
       if****@table*****_a?(DoubleArrayTrie)
         @table.update(@id, new_key, :id => true)
       else
-        raise OperationNotSupported, "`#{@table.class}` does not support `Groonga::Record#rename`. Use `Groonga::DoubleArrayTrie`."
+        raise OperationNotSupported, "Only Groonga::DoubleArrayTrie table supports Groonga::Record#rename: <#{@table.class}>"
       end
     end
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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