Navigation Menu

Skip to content

Commit

Permalink
Rename method to match the class name
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 15, 2015
1 parent 6962e6e commit 4f58bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/client/message_completer.rb
Expand Up @@ -25,7 +25,7 @@ def initialize(options={})
@date ||= @options["date"]
end

def perfect(message)
def complete(message)
id = message["id"] || generate_id
date = message["date"] || @date || new_date
message.merge("id" => id, "date" => date)
Expand Down

0 comments on commit 4f58bd9

Please sign in to comment.