From b7e187c2e09e358337fb9edf55986a9041154f1d Mon Sep 17 00:00:00 2001 From: Rick Hull Date: Tue, 7 Nov 2017 00:12:44 +0000 Subject: [PATCH] make clear that scope is ignored purposely --- lib/rake/file_task.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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