diff --git a/lib/rake/file_task.rb b/lib/rake/file_task.rb index 364d8e395..fadc6da2c 100644 --- a/lib/rake/file_task.rb +++ b/lib/rake/file_task.rb @@ -44,9 +44,9 @@ def out_of_date?(stamp) # Task class methods. # class << self - # Apply the scope to the task name according to the rules for this kind - # of task. File based tasks ignore the scope when creating the name. - def scope_name(scope, task_name) + # This method signature is from Task. FileTasks ignore the scope when + # creating the name. + def scope_name(_scope, task_name) Rake.from_pathname(task_name) end end