[Groonga-commit] droonga/droonga-client-ruby at 5e26f67 [master] Reduce needless assignment

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 14 16:36:11 JST 2015


YUKI Hiroshi	2015-04-14 16:36:11 +0900 (Tue, 14 Apr 2015)

  New Revision: 5e26f67136f3bc7e751c2f04cbc5d38d88d24423
  https://github.com/droonga/droonga-client-ruby/commit/5e26f67136f3bc7e751c2f04cbc5d38d88d24423

  Message:
    Reduce needless assignment

  Modified files:
    lib/droonga/client/message_validator.rb

  Modified: lib/droonga/client/message_validator.rb (+1 -1)
===================================================================
--- lib/droonga/client/message_validator.rb    2015-04-08 15:42:25 +0900 (8b0873a)
+++ lib/droonga/client/message_validator.rb    2015-04-14 16:36:11 +0900 (41042ef)
@@ -44,7 +44,7 @@ module Droonga
 
       def validate_date(message)
         Time.parse(message["date"])
-      rescue ArgumentError => error
+      rescue ArgumentError
         raise InvalidDate.new(message)
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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