Kouhei Sutou
null+****@clear*****
Tue Aug 9 15:20:22 JST 2016
Kouhei Sutou 2016-08-09 15:20:22 +0900 (Tue, 09 Aug 2016) New Revision: 5ceb5d472b2679b233dee3bca0f28f7ee04348de https://github.com/groonga/groonga-command/commit/5ceb5d472b2679b233dee3bca0f28f7ee04348de Message: Accept Symbol as command name Modified files: lib/groonga/command/base.rb Modified: lib/groonga/command/base.rb (+2 -2) =================================================================== --- lib/groonga/command/base.rb 2016-08-08 13:48:59 +0900 (1d72d93) +++ lib/groonga/command/base.rb 2016-08-09 15:20:22 +0900 (116c887) @@ -82,8 +82,8 @@ module Groonga # ordered arguments. def initialize(arg1=nil, arg2=nil, arg3=nil) case arg1 - when String - command_name = arg1 + when String, Symbol + command_name = arg1.to_s pair_arguments = arg2 ordered_arguments = arg3 else -------------- next part -------------- HTML����������������������������...Download