Kouhei Sutou
null+****@clear*****
Mon Mar 21 12:53:49 JST 2016
Kouhei Sutou 2016-03-21 12:53:49 +0900 (Mon, 21 Mar 2016) New Revision: 65d2a468f21333f5a31fa24d5f0191716817ef22 https://github.com/groonga/groonga-command/commit/65d2a468f21333f5a31fa24d5f0191716817ef22 Message: Use command_name Modified files: lib/groonga/command/base.rb Modified: lib/groonga/command/base.rb (+3 -3) =================================================================== --- lib/groonga/command/base.rb 2016-03-21 12:50:55 +0900 (0663b9f) +++ lib/groonga/command/base.rb 2016-03-21 12:53:49 +0900 (3e7c2ae) @@ -88,7 +88,7 @@ module Groonga def ==(other) other.is_a?(self.class) and - @name == other.name and + @command_name == other.name and @arguments == other.arguments end @@ -112,11 +112,11 @@ module Groonga end def to_uri_format - Format::URI.new(@path_prefix, @name, normalized_arguments).path + Format::URI.new(@path_prefix, @command_name, normalized_arguments).path end def to_command_format - Format::Command.new(@name, normalized_arguments).command_line + Format::Command.new(@command_name, normalized_arguments).command_line end private -------------- next part -------------- HTML����������������������������...Download